CVE-2025-6161: SourceCodester Simple Food Ordering System editproduct.php unrestricted upload

Published Jun 17, 2025
·
Updated

A vulnerability, which was classified as critical, was found in SourceCodester Simple Food Ordering System 1.0. Affected is an unknown function of the file /editproduct.php. The manipulation of the argument photo leads to unrestricted upload. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Affected Software

2 affected components
Sourcecodester Simple Food Ordering System
Fabian Simple Food Ordering System=1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Harden /editproduct.php against the photo argument manipulation that leads to unrestricted upload.

    SourceCodester Simple Food Ordering System photo upload handling in editproduct.php = Validate and restrict the 'photo' argument to allow only expected file types and sizes, and block any attempts that would enable unrestricted upload.
  2. Compensating control

    Restrict external (internet) access to /editproduct.php so remote users cannot reach the vulnerable endpoint.

Event History

Jun 17, 2025
CVE Published
via MITRE·04:31 AM
Data Sourced
via MITRE·04:31 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 AM
DescriptionSeverityWeaknessAffected Software
Jun 12, 58473
Event
via NVD·07:12 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-6161?

CVE-2025-6161 is classified as a critical vulnerability.

2

How do I fix CVE-2025-6161?

To fix CVE-2025-6161, ensure proper validation and sanitization of file uploads in the /editproduct.php script.

3

What vulnerability affects the SourceCodester Simple Food Ordering System?

CVE-2025-6161 affects the SourceCodester Simple Food Ordering System due to unrestricted file upload capabilities.

4

Can CVE-2025-6161 be exploited remotely?

Yes, CVE-2025-6161 can be exploited remotely by manipulating the photo argument.

5

What impact does CVE-2025-6161 have on the system?

The impact of CVE-2025-6161 includes potential unauthorized file uploads and remote code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203