Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials
-
DeliveryAuthenticate to admin panel
-
ExploitNavigate to add teacher form
-
ExecutionUpload PHP shell in image parameter
-
PersistAccess uploaded file URL
-
ImpactExecute arbitrary code on server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires valid authenticated admin credentials to access the admin panel (PR:L privilege level confirmed by CVSS vector). The admin/addteacher.php endpoint must be reachable over the network without additional access controls. The web server must be configured to process uploaded files (PHP execution enabled in upload directory). No special non-default configuration is explicitly stated in the CVE description, meaning standard QueryMine SMS deployments are vulnerable if admin accounts are compromised. Limiting factors: (1) Authentication barrier prevents unauthenticated remote exploitation, (2) File execution depends on web server configuration (not inherent to the upload flaw), (3) Scope remains Changed=No (SC:N), indicating impact is limited to the affected component and does not escalate to the broader system via scope expansion. |
| Impact | CVSS v4.0 score of 5.3 with network vector (AV:N) and low complexity (AC:L) indicates moderate severity. However, the authentication requirement (PR:L - requires login) significantly reduces real-world attack surface compared to unauthenticated file upload. EPSS exploitation probability is marked as P (predicted high), consistent with publicly available POC code. Exploitation is not listed in CISA KEV, suggesting active widespread exploitation has not been confirmed despite POC availability-this is typical for authenticated vulnerabilities requiring valid credentials. The limited confidentiality/integrity/availability impact (VC:L/VI:L/VA:L) in the CVSS vector conflicts somewhat with the file upload description, which could lead to RCE if executable files (PHP, JSP) are uploadable; this discrepancy suggests the CVSS assessment may be conservative or assumes uploaded files cannot be directly executed. Real risk depends on: (1) deployment context (is admin/addteacher.php publicly accessible or admin-only), (2) web server configuration (can uploaded files execute as PHP), and (3) attacker ability to obtain valid admin credentials. For organizations where admin accounts are well-controlled, risk is moderate; for those with weak admin credential hygiene, risk is elevated. |
| Exploit ScenarioDerived | An attacker with valid admin credentials (obtained through credential compromise or insider threat) authenticates to the QueryMine SMS admin panel and navigates to the add teacher functionality. The attacker uploads a PHP web shell as the 'image' parameter, exploiting the lack of file type validation in admin/addteacher.php. If the uploaded file is stored in a web-accessible directory and the server is configured to execute PHP scripts, the attacker gains remote code execution as the web server user, enabling full application compromise, database access, and lateral movement within the school network. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 17, 2026
Unrestricted file upload vulnerability in QueryMine SMS admin panel allows authenticated remote attackers to upload arbitrary files via the image parameter in admin/addteacher.php, potentially enabling remote code execution. Affects all versions up to commit 7ab5a9ea196209611134525ffc18de25c57d9593. Public exploit code exists and the vendor has not responded to disclosure attempts.
RemediationAI
No vendor-released patch identified at time of analysis. The vendor was contacted early during disclosure but did not respond. For organizations running QueryMine SMS, immediate remediation requires: (1) Restrict network access to the admin/addteacher.php endpoint to trusted internal IP addresses only via firewall rules or web server configuration; (2) Implement application-level file upload validation: enforce strict file type whitelisting (e.g., only .jpg, .png, .gif extensions), validate MIME types server-side (not relying on client headers), and verify actual file content using binary signatures (magic bytes); (3) Store uploaded files outside the web root or in a non-executable directory with explicit denial of script execution (e.g., via .htaccess or nginx config: disable PHP execution in upload directory); (4) Review and audit admin user accounts to remove inactive or unnecessary credentials; (5) Monitor upload directory for unexpected files via file integrity monitoring. If a patched version becomes available from the vendor, upgrade immediately, but currently recommend the above compensating controls as the primary mitigation strategy.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
QueryMine SMS is a PHP-based school management application. The vulnerability exists in the Background Management Page component, specifically the admin/addteacher.php file, which handles file upload processing. CWE-434 (Unrestricted Upload of File with Dangerous Type) indicates insufficient validation of uploaded file types or content. The image parameter accepts user-supplied input without proper server-side validation (file type checking, extension whitelisting, or content inspection), allowing attackers with authenticated access to bypass intended upload restrictions. CPE cpe:2.3:a:querymine:sms:*:*:*:*:*:*:*:* indicates the entire QueryMine SMS product line is affected, though the product does not use semantic versioning-releases are tracked only by git commit hash.
Know when Sms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
5DescriptionCVE.org
A security flaw has been discovered in QueryMine sms up to 7ab5a9ea196209611134525ffc18de25c57d9593. This issue affects some unknown processing of the file admin/addteacher.php of the component Background Management Page. The manipulation of the argument image results in unrestricted upload. The attack can be launched remotely. The exploit has been released to the public and may be used for attacks. This product does not use versioning. This is why information about affected and unaffected releases are unavailable. The vendor was contacted early about this disclosure but did not respond in any way.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
by-night sms V1.0 has an Arbitrary File Upload vulnerability. Rated high severity (CVSS 8.8), this vulnerability is remo
SQL injection in QueryMine SMS admin/deletecourse.php allows remote unauthenticated attackers to read, modify, or delete
SQL injection in QueryMine SMS admin/editcourse.php parameter handler allows authenticated remote attackers to query or
EUVD-2026-23426
GHSA-x6mf-8rqw-rvhf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB