onlinemcqexam CVE-2025-15140
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed onlinemcqexam instance
-
DeliveryAccess /admin/quesadd.php (unauthenticated or with credentials)
-
ExploitInject malicious SQL payload into ans1/ans2 parameter
-
ExecutionExtract or modify database contents via SQL query manipulation
-
ImpactExfiltrate exam data or user credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Exploitation requires network access to the /admin/quesadd.php endpoint of an internet- or network-exposed onlinemcqexam instance. The primary limiting factor is the /admin/ path, which should require authenticated access - if the admin panel enforces login, an attacker must first obtain admin credentials or bypass authentication separately. The assigned CVSS 4.0 PR:N suggests the researcher did not find enforced authentication blocking access, but this is not independently verified. The application is niche and rarely deployed, significantly constraining opportunistic scanning. No special OS, configuration, or protocol is required beyond HTTP access to the admin endpoint. Exploitation is further limited to installations at or before commit 0e56806 on the rolling-release repository, with no fixed release to compare against. |
| Impact | The raw CVSS 4.0 score of 5.5 (Medium) with E:P (exploit proof-of-concept) reflects a realistic but bounded threat. EPSS at 0.04% (14th percentile) is very low, consistent with a niche, low-footprint application unlikely to attract automated mass scanning - even a mid-sized municipal IT team in boleslawiec running this exam software would be a highly targeted scenario rather than a spray-and-pray campaign. The most significant risk amplifier is the public exploit availability on GitHub combined with vendor non-response and no patch: the window for opportunistic exploitation is indefinite. The CVSS PR:N assignment conflicts with the /admin/ endpoint location - if authentication is actually required, real-world exploitability is further constrained to authenticated attackers or deployments with misconfigured auth. Impact is limited (VC:L/VI:L/VA:L in the 4.0 vector), consistent with partial database read/write rather than full RCE. Overall: low priority for most organizations due to the extremely narrow deployment footprint, but organizations running this specific software should treat it as urgent given the public POC and absent patch. |
| Exploit ScenarioDerived | An attacker identifies an internet-exposed instance of onlinemcqexam, navigates to /admin/quesadd.php (exploiting absent or bypassed admin authentication), and submits a crafted HTTP request with a malicious SQL payload in the ans1 or ans2 parameter - for example, a UNION-based injection to exfiltrate user credentials or exam data from the database. The public proof-of-concept on GitHub provides a ready-made exploitation template, lowering the skill barrier to near zero for any attacker who finds a vulnerable instance. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 16, 2026
SQL injection in the open-source PHP exam application onlinemcqexam (by saiftheboss7) allows remote attackers to manipulate database queries via the ans1 and ans2 parameters of the admin question-addition endpoint /admin/quesadd.php. A public exploit has been disclosed via GitHub, meaning exploitation is not theoretical - any internet-exposed instance with an accessible admin panel is at immediate risk of data exfiltration or manipulation. The vendor did not respond to responsible disclosure, and no patch has been released; the product uses a rolling-release model pinned at commit 0e56806.
RemediationAI
No vendor-released patch has been identified at time of analysis - the vendor did not respond to the disclosure and no remediation commit has been published to the repository. Organizations running this software should immediately restrict or disable access to /admin/quesadd.php at the web server or firewall layer, preventing external access to the admin directory entirely. If the admin panel must remain accessible, enforce HTTP basic authentication or IP allowlisting at the web server level to limit exposure. Alternatively, migrate to a maintained fork or replacement exam platform. The answer parameters (ans1, ans2) should be sanitized using prepared statements with parameterized queries if a developer chooses to patch this manually. References: https://github.com/Anti1i/cve/issues/4 and https://vuldb.com/?id.338518.
Affected ProductsAI
The affected product is onlinemcqexam by GitHub user saiftheboss7, all versions up to and including commit 0e56806132971e49721db3ef01868098c7b42ada. The product uses a rolling-release model with no versioned releases, so the entire repository history up to this commit is affected. No CPE string has been published. No vendor advisory exists. The VulDB entry is tracked at vuldb.com/?id.338518.
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
onlinemcqexam is a PHP-based multiple choice question exam platform hosted on GitHub. The vulnerable file /admin/quesadd.php handles question creation, accepting answer option parameters (ans1, ans2) that are passed unsanitized into SQL query construction - a classic CWE-74 (Injection) / CWE-89 (SQL Injection) pattern. The application appears to use a backend relational database (likely MySQL given the PHP+web-exam stack) without parameterized queries or prepared statements for these input fields. The admin-panel location (/admin/) implies some form of access control should be present, but the assigned CVSS 4.0 vector treats PR as N, suggesting either the admin path lacks enforced authentication or it was not verified during testing. No CPE string was published.
Know when PHP 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:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Admin endpoint implies some authentication required (PR:L); SQLi yields partial DB read/write but not full system compromise, so C:L/I:L/A:N.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was found in saiftheboss7 onlinemcqexam up to 0e56806132971e49721db3ef01868098c7b42ada. This vulnerability affects unknown code of the file /admin/quesadd.php. Performing manipulation of the argument ans1/ans2 results in sql injection. The attack is possible to be carried out remotely. The exploit has been made public and could be used. This product adopts a rolling release strategy to maintain continuous delivery 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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB