Skip to main content

onlinemcqexam CVE-2025-15140

MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-12-28 cna@vuldb.com
5.5
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed onlinemcqexam instance
  2. Delivery
    Access /admin/quesadd.php (unauthenticated or with credentials)
  3. Exploit
    Inject malicious SQL payload into ans1/ans2 parameter
  4. Execution
    Extract or modify database contents via SQL query manipulation
  5. Impact
    Exfiltrate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (vuldb) PRIMARY 5.5 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.0%
Top 86% exploitable
Prevalence
Rare
obscure single-developer GitHub project, minimal enterprise footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy