CVE-2026-19210
Received Received - Intake

Unrestricted File Upload in Photo Share Website 1.0

Vulnerability report for CVE-2026-19210, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-07

Last updated on: 2026-08-07

Assigner: VulDB

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-07
Last Modified
2026-08-07
Generated
2026-08-07
AI Q&A
2026-08-07
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sourcecodester photo_share_website 1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-434 The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
CWE-284 The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Photo Share Website 1.0 allows attackers to upload arbitrary files without proper validation. The issue is in the save_upload function of ajax.php, where the img[] and imgName[] parameters are manipulated to upload dangerous files like PHP scripts. This can lead to Remote Code Execution (RCE) if the uploaded file is executed on the server.

Detection Guidance

Check for unexpected PHP files in the /social/assets/img/uploads/ directory. Look for recently modified files with .php extensions. Use commands like 'find /var/www/html/social/assets/img/uploads/ -name "*.php" -type f -mtime -7' to search for suspicious files.

Impact Analysis

An attacker could exploit this to upload malicious files, such as a webshell, gaining full control over the server. This could result in data theft, unauthorized access, or further compromise of the system. The impact depends on the server's configuration and the attacker's goals.

Compliance Impact

This vulnerability could lead to unauthorized access or data breaches, violating GDPR and HIPAA requirements for data protection and security. Non-compliance may result in legal penalties, fines, or reputational damage.

Mitigation Strategies

Immediately restrict write permissions to the /social/assets/img/uploads/ directory. Disable the /social/ajax.php?action=save_upload endpoint if not needed. Update file upload validation to block PHP and other executable file types. Monitor for unauthorized file uploads or executions.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-19210. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart