CVE-2018-18485
Description
An issue was discovered in PHPSHE 1.7. admin.php?mod=db&act=del allows remote attackers to delete arbitrary files via directory traversal sequences in the dbname parameter. This can be leveraged to reload the product by deleting install.lock.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
PHPSHE 1.7 admin.php?mod=db&act=del allows directory traversal to delete arbitrary files, enabling reinstallation by deleting install.lock.
Vulnerability
In PHPSHE version 1.7, the admin.php?mod=db&act=del endpoint does not properly sanitize the dbname parameter, allowing directory traversal sequences such as ../. This enables an attacker to delete arbitrary files on the server. The vulnerability is reachable via a crafted HTTP request to the admin interface.
Exploitation
An attacker must have access to the admin panel (typically requiring authentication). By sending a request to admin.php?mod=db&act=del with a dbname parameter containing path traversal sequences (e.g., ../../../install.lock), the attacker can delete the target file. No special privileges beyond admin access are needed.
Impact
Successful exploitation allows the attacker to delete arbitrary files. Deleting install.lock forces the application to re-run its installation process, potentially allowing the attacker to gain full control over the application (e.g., by reconfiguring the database or uploading a malicious payload). This can lead to complete compromise of the PHPSHE installation.
Mitigation
As of the available references, no official patch has been released for PHPSHE 1.7 [1]. Users should restrict access to the admin panel to trusted IPs, implement strong authentication, and consider upgrading to a newer version if available. Additionally, file deletion operations should validate and sanitize user-supplied paths.
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
1- gitee.com/koyshe/phpshe/issues/INOG4mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.