CVE Catalog

CVE-2005-4800

High
Published: Translated: NVD NIST

Summary

A direct static code injection vulnerability in YaPIG 0.95b and earlier allows remote authenticated administrators to inject arbitrary PHP code via the TestGallery parameter in a mod_info action to modify_gallery.php, which inserts the code into guid_info.php. A separate CSRF vulnerability makes exploitation easier.

Risk Assessment

An attacker can gain full control of the server by executing arbitrary PHP code, potentially leading to data theft, content modification, or further attacks on the infrastructure.

Recommendation

Immediately upgrade YaPIG to the latest available version that fixes this vulnerability. If an upgrade is not possible, restrict administrative panel access to trusted IP addresses and implement CSRF protection mechanisms.

Related vulnerabilities

Original NVD description (English source)

Direct static code injection vulnerability in Yet Another PHP Image Gallery (YaPIG) 0.95b and earlier allows remote authenticated administrators to inject arbitrary PHP code via the TestGallery parameter in a mod_info action to modify_gallery.php, which inserts the code into guid_info.php. NOTE: this issue is easier to exploit due to a separate CSRF vulnerability.

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