Skip to main content

Point of Sales CVE-2025-12292

MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-10-27 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 internet-exposed /index.php endpoint
  2. Delivery
    Craft SQL injection payload in Username field
  3. Exploit
    Submit unauthenticated HTTP POST request
  4. Execution
    Manipulate backend SQL query logic
  5. Impact
    Extract database credentials or bypass authentication

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Exploitation Conditions

No special conditions are required for exploitation. The vulnerable parameter (Username) is located on the public-facing login form at /index.php, which is accessible to any unauthenticated user prior to authentication. No special configuration, feature flag, or authenticated session is needed. Exploitation is bounded only by network reachability to the web server - if the application is internet-exposed, it is exploitable by any actor. The primary limiting factor is the rarity of this specific application in production environments, as it is an educational/tutorial PHP script rather than commercial software. Authentication cannot bypass the vulnerability since the injection point is the authentication mechanism itself.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms unauthenticated, low-complexity network exploitation with no attack requirements - the most dangerous access profile for a web endpoint. However, the resulting score of 5.5 reflects limited impact scope (VC:L/VI:L/VA:L), meaning full compromise is not guaranteed from this single vector alone. EPSS at 0.03% (8th percentile) and absence from CISA KEV both suggest negligible real-world exploitation activity despite the POC being public. The practical risk is concentrated in organizations that deployed this application in production - primarily students, small retailers, or developers using SourceCodester scripts - rather than representing broad enterprise exposure. The E:P threat modifier in the provided vector confirms exploit code exists and is reproducible. Real-world prioritization should be low unless the application is internet-facing with live data.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted HTTP POST request to /index.php with a SQL payload such as ' OR '1'='1 in the Username field, causing the backend PHP application to construct a query that bypasses authentication logic or returns sensitive database rows. A public POC is available at https://github.com/J-Fy2767/CVE/issues/2 confirming this is reproducible. Given AC:L and PR:N, exploitation requires no prior reconnaissance beyond knowing the application is running.

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 – Jul 25, 2026

SQL injection in SourceCodester Point of Sales 1.0 exposes the login endpoint (/index.php) to unauthenticated remote exploitation via a malicious Username parameter, enabling database query manipulation. A public proof-of-concept exploit has been disclosed on GitHub (CVE/issues/2), confirming the attack is reproducible. EPSS sits at 0.03% (8th percentile), indicating limited observed exploitation in the wild despite POC availability - consistent with a niche, low-footprint product; no CISA KEV listing.

RemediationAI

No vendor-released patch has been identified at time of analysis for SourceCodester Point of Sales 1.0. The primary remediation is to replace the vulnerable SQL query construction in /index.php with PHP PDO or MySQLi prepared statements with parameterized queries, which eliminates the injection surface entirely. As an immediate compensating control, restrict network access to the application to trusted internal IP ranges only - this directly addresses the AV:N attack vector and is the highest-impact interim mitigation, though it prevents external legitimate use. Deploying a web application firewall (WAF) with SQL injection signatures can detect and block exploitation attempts but should not be treated as a permanent fix due to bypass risks. Disabling or taking the application offline is recommended if no development capacity exists to remediate the code. See VulDB entry https://vuldb.com/?id.329960 for additional context.

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

The affected product is a PHP-based point-of-sale web application distributed by janobe through SourceCodester (cpe:2.3:a:janobe:point_of_sales:1.0). The root cause is CWE-74 (Injection), specifically SQL injection, arising from unsanitized concatenation of user-supplied input into SQL queries within /index.php. The Username field on the login form is directly interpolated into a database query without parameterization or prepared statements, a classic PHP anti-pattern common in tutorial-grade code from educational code-sharing platforms like SourceCodester. An attacker can inject arbitrary SQL syntax to manipulate query logic, extract data, or bypass authentication.

Know when Point Of Sales 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 7.3 HIGH

Login form is pre-authentication (PR:N), network-reachable (AV:N), and yields partial database read/write and availability impact without scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/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 determined in SourceCodester Point of Sales 1.0. This vulnerability affects unknown code of the file /index.php. This manipulation of the argument Username causes sql injection. It is possible to initiate the attack remotely. The exploit has been publicly disclosed and may be utilized.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Prevalence
Rare
niche educational PHP script, minimal real-world enterprise deployment
Exploit
POC
Public exploit code exists
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 Yes
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
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
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.

Affected Products (CPE)CVE.org

cpe:2.3:a:janobe:point_of_sales:1.0:*:*:*:*:*:*:*

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