Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted HTTP POST to /social/ajax.php?action=signup
-
DeliveryInject SQL payload into email parameter
-
ExploitBypass absent input validation
-
ExecutionManipulate backend SQL query logic
-
ImpactExtract or modify database records
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 | No special conditions are required for exploitation. The vulnerable endpoint /social/ajax.php?action=signup is the public-facing registration form, reachable without authentication by any remote user. The CVSS 4.0 vector (PR:N, AC:L, AT:N) confirms no privileges, no complexity, and no specific attack prerequisites. Exploitation is bounded by the database account privileges granted to the PHP application - if the application's database user is restricted to its own schema, the attacker's reach is limited to that schema rather than the full database server. Exploitation requires only that the Photo Share Website instance be network-accessible; local-only deployments are not exposed to this attack path. |
| Impact | The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:N) places this at the most accessible end of the exploitation spectrum: remote, unauthenticated, low complexity, no special attack requirements. Impact metrics (VC:L/VI:L/VA:L) are uniformly Low, indicating partial rather than total database compromise, which moderates the overall score to 6.9. The E:P supplemental metric confirms publicly available exploit code, raising real-world urgency beyond what the score alone implies. No EPSS data was provided in the input, so exploitation probability cannot be numerically anchored. The vulnerability is not listed in CISA KEV, so mass active exploitation is not confirmed. However, the educational/hobby nature of SourceCodester applications means deployments are often poorly monitored, unpatched, and internet-facing, making the realistic exploitation barrier lower than for enterprise software. The primary limiting factor is product prevalence - this is a niche application with minimal enterprise footprint. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends a crafted HTTP POST request to /social/ajax.php?action=signup with a SQL payload embedded in the email field - for example, a UNION-based injection to extract the database schema or user table contents. Publicly available exploit code referenced at https://github.com/gensnext/cve/issues/3 demonstrates the technique, requiring no prior access or account. The attacker can enumerate, extract, or potentially modify records within the application database in a single request. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 07, 2026
SQL injection in SourceCodester Photo Share Website 1.0 exposes the unauthenticated user registration endpoint (/social/ajax.php?action=signup) to database manipulation via the email parameter. The CVSS 4.0 vector confirms network-exploitable with no authentication, no complexity, and no special attack conditions, while the E:P modifier reflects publicly available exploit code hosted on GitHub. No active exploitation is confirmed in CISA KEV, but the combination of a zero-barrier attack surface and public POC code means any internet-exposed instance should be treated as immediately at risk.
RemediationAI
No vendor-released patch has been identified at time of analysis for SourceCodester Photo Share Website 1.0; given the educational distribution model, an official patch may not be forthcoming. The primary fix is to rewrite the email parameter handling in /social/ajax.php to use parameterized queries or prepared statements (e.g., PHP PDO or MySQLi with bound parameters), replacing any direct string interpolation. As an immediate compensating control, restrict or disable public access to the /social/ajax.php?action=signup endpoint via web server configuration (e.g., Apache .htaccess or nginx location block) if public self-registration is not required - note this will break signup functionality. Deploying a WAF rule to detect SQL metacharacters (single quotes, UNION, comment sequences) in POST body parameters provides a secondary layer but can produce false positives on legitimate email addresses containing special characters. If this application is serving production data, migration to a maintained alternative is strongly recommended. VulDB advisory: https://vuldb.com/vuln/386956.
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
The vulnerability is a classic SQL Injection (CWE-89) within a PHP web application. The signup handler in /social/ajax.php accepts an email parameter that is concatenated directly into a backend SQL query without parameterization or sanitization, allowing an attacker to alter query logic. The affected product is identified by CPE cpe:2.3:a:sourcecodester:photo_share_website:*:*:*:*:*:*:*:*, distributed by SourceCodester - a platform that publishes open-source PHP applications primarily as academic and learning projects. The wildcard version in the CPE indicates no specific upper bound has been confirmed, suggesting all distributed releases may carry the flaw.
Know when Photo Share Website 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
Unauthenticated public signup endpoint reachable over the network; no complexity or privileges; partial database impact across all three dimensions with no scope change.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was found in SourceCodester Photo Share Website 1.0. This affects an unknown function of the file /social/ajax.php?action=signup. Performing a manipulation of the argument email results in sql injection. Remote exploitation of the attack is possible. The exploit has been made public and could 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.
More in Photo Share Website
View allSQL injection in SourceCodester Photo Share Website 1.0 exposes the login endpoint `/social/ajax.php?action=login` to re
Unrestricted file upload in SourceCodester Photo Share Website 1.0 exposes the /social/ajax.php?action=save_upload endpo
Cross-site scripting in SourceCodester Photo Share Website 1.0 allows a low-privileged authenticated attacker to inject
Stored or reflected cross-site scripting in SourceCodester Photo Share Website 1.0 enables remote authenticated attacker
EUVD-2026-54523
GHSA-37wh-mr6j-jq3m
NVD
CVE.org
EPSS
VulDB
Exploit-DB