Skip to main content

Photo Share Website EUVDEUVD-2026-54369

| CVE-2026-19196 MEDIUM
SQL Injection (CWE-89)
2026-08-07 VulDB GHSA-92jx-33pg-rj87
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 Photo Share Website login endpoint
  2. Delivery
    Send crafted HTTP POST with SQL payload in email parameter
  3. Exploit
    Inject into backend SQL query without sanitization
  4. Execution
    Bypass authentication or enumerate database records
  5. Impact
    Access or exfiltrate user credentials and application data

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 - the endpoint /social/ajax.php?action=login is the standard unauthenticated login handler and is reachable by any remote user in a default deployment. The CVSS 4.0 vector confirms AV:N/AC:L/AT:N/PR:N/UI:N, meaning no credentials, no non-default configuration, and no user interaction are needed. Any internet-facing instance of Photo Share Website 1.0 is exploitable as deployed. Factors that limit exploitation in practice: the product has a niche deployment footprint (primarily educational and hobbyist use via SourceCodester), instances not exposed to the public internet are not reachable, and deployments behind a WAF with active SQL injection signatures may detect or block payload delivery.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/E:P) signals maximum accessibility - network-reachable, low complexity, no prerequisites, with a confirmed public exploit - which represents a genuine operational risk for any exposed instance. The impact metrics (VC:L/VI:L/VA:L) are conservatively rated, reflecting partial database read/write/availability effects rather than full compromise, though chained exploitation (e.g., auth bypass leading to admin function abuse) could escalate impact beyond these bounds. The 6.9 score is moderate but the E:P exploit maturity modifier is significant: tooling already exists to exploit this. No EPSS data was provided; given the product's niche footprint, population-level exploitation probability is likely low despite per-instance ease. The absence of a CISA KEV listing suggests no confirmed mass exploitation campaigns, consistent with the product's narrow deployment base. The primary real-world risk is targeted attack against organizations running exposed SourceCodester demo applications or production instances built on this codebase.

Exploit ScenarioDerived

An unauthenticated remote attacker sends a crafted HTTP POST request to /social/ajax.php?action=login with a SQL injection payload in the email field (e.g., ' OR '1'='1), causing the backend query to return all user rows and bypass authentication logic. A public proof-of-concept demonstrating this technique is available at https://github.com/CYSB123456789/cve/issues/1. With UNION-based or error-based injection, the attacker could enumerate database schema and extract stored credentials, user data, or session tokens.

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

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

Alert me

AnalysisAIv1 – Aug 07, 2026

SQL injection in SourceCodester Photo Share Website 1.0 exposes the login endpoint /social/ajax.php?action=login to remote unauthenticated exploitation via the email parameter, enabling attackers to manipulate backend database queries. The CVSS 4.0 vector confirms zero-barrier access - no credentials, no complexity, no user interaction required against a default deployment. A public proof-of-concept exploit is available on GitHub, meaningfully lowering the threshold for opportunistic attacks, though no active exploitation has been confirmed in CISA KEV.

RemediationAI

No vendor-released patch has been identified at time of analysis. The definitive fix requires refactoring the login handler in /social/ajax.php to replace string-concatenated SQL with parameterized queries or prepared statements (e.g., PHP PDO or mysqli prepare()/bind_param()) - this eliminates the injection root cause. As an immediate compensating control, administrators should restrict access to the login endpoint at the web server or firewall layer if the application is not required to be publicly accessible; this eliminates remote exploitability but also blocks legitimate users. Deploying a WAF rule to detect and block common SQL injection patterns against the email parameter provides partial mitigation with lower availability impact, though WAF rules can be bypassed by determined attackers and may cause false positives on valid email inputs containing special characters. Rate-limiting requests to /social/ajax.php?action=login limits automated scanning efficiency but does not block the attack. Monitor https://vuldb.com/vuln/386713 and https://www.sourcecodester.com/ for any upstream patch release.

Affected VersionsENISA

Photo Share Website 1.0

Affected Packages

euvd photo_share_website no fix

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

Photo Share Website 1.0 is a PHP-based open-source web application distributed by SourceCodester. The login handler at /social/ajax.php?action=login accepts a user-supplied email parameter that is incorporated into a SQL query without parameterization or sanitization, satisfying CWE-89 (Improper Neutralization of Special Elements used in SQL Command - SQL Injection). This is a textbook PHP string-concatenation SQL injection pattern, common in SourceCodester educational projects that use direct mysqli or similar calls without prepared statements. The CPE string cpe:2.3:a:sourcecodester:photo_share_website:*:*:*:*:*:*:*:* uses a version wildcard, indicating all tracked versions are affected with no confirmed upper bound. The attack surface is the public-facing login form, requiring no session or account.

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

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

Network-reachable unauthenticated login endpoint with no complexity; partial C/I/A impact consistent with limited SQL query manipulation per CVSS 4.0 signal.

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

Lifecycle Timeline

2
CVSS changed
Aug 07, 2026 - 06:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Aug 07, 2026 - 05:00 cve.org
MEDIUM 6.9

DescriptionCVE.org

A vulnerability was found in SourceCodester Photo Share Website 1.0. The impacted element is an unknown function of the file /social/ajax.php?action=login. The manipulation of the argument email results in sql injection. The attack can be launched remotely. The exploit has been made public and could be used.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Rare
niche educational PHP project, minimal production enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.3%
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
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

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.

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