Skip to main content

PHPEMS CVE-2025-15242

LOW
Race Condition (CWE-362)
2025-12-30 cna@vuldb.com
1.3
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to PHPEMS as legitimate user
  2. Delivery
    Submit concurrent coupon requests
  3. Exploit
    Trigger race condition in validation window
  4. Execution
    Bypass coupon integrity checks
  5. Impact
    Achieve unauthorized discount or state manipulation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attack requires authentication to PHPEMS (PR:L in CVSS vector), meaning the attacker must possess valid user credentials or be an authenticated account holder. The attack must target the Coupon Handler component specifically when processing coupon operations. Race condition exploitation requires high timing precision and multiple concurrent requests, making it difficult to execute reliably across different network conditions and server configurations. The vulnerability is triggered during coupon manipulation operations, likely redemption, validation, or balance adjustment functions. Exploitation is limited to PHPEMS deployments where coupon functionality is enabled and the attacker has prior authenticated access - unauthenticated remote exploitation is not possible.

Impact

This vulnerability presents a low real-world risk despite public POC availability. The CVSS 4.0 vector AV:N/AC:H/PR:L/UI:N indicates remote network access but requires high attack complexity and prior authentication (PR:L), significantly limiting the attack surface. The integrity impact is low (VI:L) with no confidentiality or availability impact. EPSS score of 0.04% (14th percentile) is exceptionally low, suggesting minimal exploitation probability in the wild despite POC publication. The discrepancy between public POC and low EPSS indicates the exploit requires precise timing, specific deployment conditions, or reliable race condition triggering that may not be practical in production environments. Security teams should prioritize patching based on whether PHPEMS instances are internet-facing and whether coupon functionality is actively used, rather than treating this as an urgent critical threat.

Exploit ScenarioDerived

An authenticated user with access to the PHPEMS coupon system submits multiple concurrent requests to redeem or manipulate the same coupon while a background process validates coupon eligibility. By timing requests precisely, the attacker triggers a race condition where the validation check passes, but before the redemption is finalized, a second request uses outdated coupon state, resulting in unauthorized discount application or integrity bypass of coupon limits.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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 – Apr 29, 2026

Race condition in PHPEMS Coupon Handler component up to version 11.0 allows authenticated remote attackers to manipulate coupon processing logic, potentially resulting in integrity compromise. The vulnerability requires high attack complexity and authenticated access, limiting practical exploitation despite publicly available proof-of-concept code. EPSS score of 0.04% indicates low real-world exploitation probability despite public POC availability.

RemediationAI

Upgrade PHPEMS to a version newer than 11.0 if a patched release is available from the vendor. No specific patch version is confirmed in the available data. As an interim compensating control, restrict network access to the PHPEMS coupon handling endpoints to trusted internal networks only, or disable coupon functionality if it is not required for operations. Implement request rate-limiting and session-based access controls on coupon processing endpoints to increase the timing difficulty of race condition exploitation. Implement transactional database operations (if not already in place) to ensure coupon state checks and updates are atomic, preventing TOCTOU windows. Monitor coupon transaction logs for suspicious patterns such as multiple rapid requests from the same user session or unusual redemption rates that might indicate race condition attempts. Contact the PHPEMS vendor or community for confirmation of patch availability and timeline.

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

PHPEMS is an exam management system written in PHP. The vulnerability exists in the Coupon Handler component, which manages promotional code or discount voucher processing. The underlying flaw is a classic time-of-check-time-of-use (TOCTOU) race condition (CWE-362), where the component checks coupon validity or redemption status in one operation, then uses that result in a subsequent operation without maintaining atomicity. An attacker can exploit the window between validation and use by manipulating coupon state concurrently, bypassing intended restrictions or triggering unintended state transitions. The vulnerability requires network-accessible PHPEMS instances with coupon functionality enabled and affects all versions up to and including 11.0.

Know when Phpems 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 1.3 LOW
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (vuldb) · only source for this CVE.

CVSS VectorVendor: vuldb

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

DescriptionCVE.org

A vulnerability was detected in PHPEMS up to 11.0. The impacted element is an unknown function of the component Coupon Handler. Performing a manipulation results in race condition. The attack can be initiated remotely. The complexity of an attack is rather high. The exploitability is regarded as difficult. The exploit is now public and may be used.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Exploit
POC
Public exploit code exists
Data Quality
4 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 LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

Affected Products (CPE)CVE.org

cpe:2.3:a:phpems:phpems:*:*:*:*:*:*:*:*

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