Skip to main content

Photo Share Website EUVDEUVD-2026-54511

| CVE-2026-19210 LOW
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-08-07 VulDB GHSA-wqwv-2j54-cp38
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with low-privilege account
  2. Delivery
    POST crafted PHP webshell via img[]/imgName[] to /social/ajax.php
  3. Exploit
    Server stores file without type validation
  4. Execution
    Identify upload storage path
  5. Persist
    Request uploaded webshell URL directly
  6. Impact
    Execute arbitrary OS commands as web server user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK

2 techniques across 2 tactics: Command and Control, Persistence

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

Exploitation Conditions

Exploitation requires a valid authenticated session with a low-privileged account (consistent with PR:L in the CVSS 4.0 vector - standard registered-user access is sufficient; no administrative role is needed). The target must be running SourceCodester Photo Share Website 1.0 with a PHP-capable web server. Full remote code execution is additionally contingent on the web server executing PHP scripts from the directory where uploads are stored - if PHP execution is disabled in that directory (e.g., via .htaccess or server config), impact is limited to arbitrary file write rather than code execution. No special network position, prior vulnerability chaining, or victim interaction is required. The attack is fully remotely launchable over the internet against any publicly exposed instance.

Impact

The official CVSS 4.0 score of 2.1 (VC:L/VI:L/VA:L) appears significantly understated for an unrestricted file upload vulnerability in a PHP application - the standard worst-case for this class is OS-level RCE. This conflict is notable and defenders should not rely solely on the numeric score. The CVSS 4.0 vector correctly captures that PR:L authentication is required and attack complexity is low (AC:L/AT:N). The E:P modifier confirms a public PoC exists, elevating practical risk above the base score suggests. The vulnerability is not in CISA KEV, so no confirmed widespread active exploitation is on record. SourceCodester products are predominantly used as educational demonstration scripts with limited enterprise deployment, which constrains realistic blast radius. Actual severity is strongly dependent on whether the web server executes PHP in the upload directory - a non-default hardened setup would reduce impact to unauthorized file storage only. EPSS data is not provided in the intelligence; defenders should treat this as low-prevalence but real-exploitability-when-conditions-met.

Exploit ScenarioDerived

An attacker with a valid low-privileged account on the Photo Share Website crafts a POST request to /social/ajax.php?action=save_upload, supplying a PHP webshell as the img[] file payload with a .php extension in the imgName[] parameter. The server writes the file to a web-accessible directory without validating its type; the attacker then requests the uploaded file's URL directly, triggering server-side execution and obtaining an interactive shell with the privileges of the web server process. A public PoC on GitHub demonstrates this technique.

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

Unrestricted file upload in SourceCodester Photo Share Website 1.0 exposes the /social/ajax.php?action=save_upload endpoint to abuse via crafted img[] and imgName[] POST parameters, allowing authenticated low-privileged users to upload arbitrary file types - including PHP webshells. If the upload directory permits server-side script execution, this escalates to remote code execution on the host. A public proof-of-concept exploit exists on GitHub; the vulnerability is not listed in the CISA KEV catalog.

RemediationAI

No vendor-released patch has been identified at the time of analysis; the SourceCodester product page (https://www.sourcecodester.com/) should be monitored for updates. As immediate compensating controls: restrict accepted file types in the upload handler to an explicit allowlist of safe extensions (.jpg, .jpeg, .png, .gif) and validate both MIME type and file magic bytes server-side - not just the client-supplied filename in imgName[]. Store uploaded files outside the web root or in a dedicated directory with PHP execution explicitly disabled (Apache: php_flag engine off in .htaccess or Options -ExecCGI; Nginx: fastcgi_pass removed for the upload path). Rename all uploaded files to randomly generated non-executable names upon receipt. Apply file permissions (chmod 644) to stored uploads to prevent execution. Disabling the upload feature entirely (removing or restricting /social/ajax.php) is the lowest-risk mitigation if the feature is non-essential. The public PoC at https://github.com/gensnext/cve/issues/2 provides technical detail to inform testing of controls.

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

The affected product is SourceCodester Photo Share Website 1.0, a PHP-based social photo-sharing web application (CPE: cpe:2.3:a:sourcecodester:photo_share_website:*:*:*:*:*:*:*:*). The root cause is CWE-434 (Unrestricted Upload of File with Dangerous Type): the AJAX handler at /social/ajax.php fails to validate the MIME type, extension, or content of files submitted through the img[] and imgName[] parameters before writing them to disk. In PHP environments, an attacker can upload a .php file containing arbitrary server-side code; if the destination path is web-accessible and PHP execution is not disabled by the server configuration, the uploaded file can be retrieved via a direct HTTP request to trigger execution with the privileges of the web server process.

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 2.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 9.9 CRITICAL

Network-reachable endpoint, low-privilege auth required, no interaction needed; scope change reflects OS-level RCE potential when PHP executes uploaded webshell.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/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
Low
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

3
Severity Changed
Aug 07, 2026 - 16:22 NVD
MEDIUM LOW
CVSS changed
Aug 07, 2026 - 16:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Aug 07, 2026 - 16:00 cve.org
LOW 2.1

DescriptionCVE.org

A vulnerability has been found in SourceCodester Photo Share Website 1.0. The impacted element is an unknown function of the file /social/ajax.php?action=save_upload. Such manipulation of the argument img[]/imgName[] leads to unrestricted upload. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Rare
SourceCodester scripts are educational demo PHP apps with negligible 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 LOW
CISA KEV No
Public POC Yes
EPSS 0.3%
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

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