CVE Catalog

CVE-2018-25397

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

6th percentile - higher than 6% of all known CVEs

Summary

PHP-SHOP 1.0 contains a cross-site request forgery vulnerability that allows unauthenticated attackers to add administrative users by crafting malicious HTML forms. Attackers can trick authenticated administrators into visiting a page with a hidden form that automatically submits POST requests to users.php with admin permissions.

Risk Assessment

An attacker can create unauthorized admin accounts, leading to full compromise of the application.

Recommendation

Implement CSRF tokens in all forms and require re-authentication for sensitive operations.

Related vulnerabilities

Original NVD description (English source)

PHP-SHOP 1.0 contains a cross-site request forgery vulnerability that allows unauthenticated attackers to add administrative users by crafting malicious HTML forms. Attackers can trick authenticated administrators into visiting a page containing a hidden form that automatically submits POST requests to the users.php endpoint with parameters like name, email, password, and permissions set to admin to create unauthorized admin accounts.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS