CVE-2025-3729 SourceCodester Web-based Pharmacy Product Management System Database Backup backup.php os command injection

Medium 6.9 Published Updated

Remote attackers can execute arbitrary OS commands via the txtdbname argument in backup.php of the Pharmacy Product Management System.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-3729?

CVE-2025-3729 is a medium-severity command injection vulnerability in SourceCodester Web-based Pharmacy Product Management System, published on 16 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability, which was classified as critical, has been found in SourceCodester Web-based Pharmacy Product Management System 1.0. This issue affects some unknown processing of the file backup.php of the component Database Backup Handler. The manipulation of the argument txtdbname leads to os command injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-78, CWE-77

Which versions are affected by CVE-2025-3729?

It affects 1 product.

Products include Senior-Walter Web-Based Pharmacy Product Management System.

How do I fix CVE-2025-3729?

No fix has been published for CVE-2025-3729 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-3729 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-3729 exists.

Sources

Also known as GHSA-4fx4-vxg4-984r.

Is CVE-2025-3729 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free