Arbitrary File Deletion in PHP Scripts Mall Schools Alert Management Script
CVE-2018-12053 is a vulnerability in PHP Scripts Mall Schools Alert Management Script, specifically in the delete_img.php file. The vulnerability arises from improper sanitization of the 'img' parameter, which allows attackers to perform directory traversal attacks. By manipulating the 'img' parameter, an attacker can specify arbitrary file paths, leading to the deletion of files outside the intended directory.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to delete arbitrary files on the server with the privileges of the web server process. This can lead to denial of service, loss of critical application or system files, and potentially further compromise if configuration or authentication files are deleted.
If you can’t patch tonight, do this now.
Restrict access to delete_img.php to trusted users only. Employ web application firewalls to detect and block directory traversal attempts. Ensure regular backups are in place to recover from unauthorized file deletions.
Patch, then assume compromise.
Update the application to properly validate and sanitize the 'img' parameter in delete_img.php, ensuring that only allowed file paths within the intended directory can be deleted. Apply any vendor-supplied patches or updates addressing this issue.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.