Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker crafts POST request with SQL payload in Name parameter
-
DeliveryHTTP request transmitted to post_comment.php
-
ExploitServer receives and processes request without sanitization
-
InstallPayload inserted into SQL query string
-
C2Database executes injected SQL commands
-
ExecuteAttacker retrieves or modifies database records
-
ImpactInformation disclosure or data corruption occurs
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerability requires only that post_comment.php be accessible via HTTP/HTTPS from the network attacker's perspective. No authentication is required - the endpoint must accept unauthenticated POST requests to the Name parameter. The flaw is present in default installations of SourceCodester Comment System 1.0 with no special configuration or non-default settings required to trigger it. Exploitation is limited to the scope of data accessible via SQL queries through the application's database connection (typically comment data, user profiles, and configuration stored in the database). The application must have a backend database configured (MySQL, PostgreSQL, etc.) for the injection to have meaningful impact; a database-less configuration would not be vulnerable. |
| Impact | CVSS 5.5 with AV:N/AC:L/PR:N/UI:N indicates a network-accessible, unauthenticated vulnerability with low complexity of exploitation. The E:P tag confirms a publicly available proof-of-concept, lowering the barrier to practical exploitation. However, the CVSS 4.0 vector shows limited scope of impact (VC:L/VI:L/VA:L with SC:N/SI:N/SA:N), meaning SQL injection is constrained to read/modify data within the application's database context without achieving system-level compromise or confidentiality breach of other systems. The moderate CVSS score combined with public exploit availability and zero authentication requirements makes this a real priority for organizations deploying this component, particularly if it processes user-generated content or comment systems on public-facing websites. The low impact ratings suggest this is not a remote code execution vector but rather a data manipulation or information disclosure risk dependent on backend database configuration and what sensitive data is stored in the comments table. |
| Exploit ScenarioDerived | An attacker submits a comment via an HTTP POST request to post_comment.php with a crafted Name parameter containing SQL metacharacters such as ' OR '1'='1 or UNION SELECT commands. The vulnerable application concatenates this unsanitized input directly into a SQL query, executing arbitrary SQL commands against the backend database. The attacker can extract comment data, user credentials, or other sensitive information stored in the database, or modify existing records. A public GitHub repository (https://github.com/redshadowword-cell-CVE/issues/7) contains proof-of-concept code, lowering the technical barrier significantly. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 08, 2026
SQL injection in SourceCodester Comment System 1.0 allows remote unauthenticated attackers to manipulate the Name argument in post_comment.php, enabling arbitrary SQL query execution with low confidentiality and integrity impact. Publicly available exploit code exists and the attack requires no special user interaction or authentication, making it accessible to any network-connected attacker.
RemediationAI
Immediate action required: upgrade to a patched version if the vendor releases one, or discontinue use of this component and migrate to a maintained, actively-supported comment system with secure input handling. If immediate upgrade is not feasible, implement the following compensating controls: (1) Use Web Application Firewall (WAF) rules to detect and block SQL injection payloads in the Name parameter (trade-off: WAF rules may produce false positives and require ongoing tuning); (2) Disable or restrict access to post_comment.php at the network perimeter using reverse proxy rules, allowing comments only from authenticated internal sources (trade-off: impacts user-facing comment functionality); (3) Apply strict input validation on the Name parameter at the application level, rejecting non-alphanumeric characters and enforcing maximum length limits (trade-off: may break legitimate comment names with special characters); (4) Run the database connection with minimal privileges (read-only to the comments table where possible) to limit the scope of an SQL injection attack (trade-off: requires database architecture review and may require application code changes). No vendor-released patch is confirmed at this time; consult https://www.sourcecodester.com/ for updates.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SourceCodester Comment System is a PHP-based web application component designed to handle user comments. The vulnerability resides in the post_comment.php file, which processes incoming comment submissions. The Name parameter is passed directly into SQL queries without proper input validation or parameterized query preparation, violating CWE-89 (SQL Injection) principles. This is a classic first-generation web application flaw common in legacy PHP systems that concatenate user input into query strings rather than using prepared statements or bound parameters. The CPE indicates all versions of the product are affected.
Know when Comment System 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
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A flaw has been found in SourceCodester Comment System 1.0. This issue affects some unknown processing of the file post_comment.php. This manipulation of the argument Name causes sql injection. Remote exploitation of the attack is possible. The exploit has been published and may be used.
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.
EUVD-2026-28488
GHSA-rw2q-pc53-f59p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB