top of page
perceptive_background_267k.jpg

Pheditor is a single-file editor and file manager written in PHP. Prior to version 2.0.5, there is an authenticated terminal command whitelist bypass. The termi…

Published:

26 juli 2026 om 22:00:00

Alert date:

27 juli 2026 om 21:04:07

Source:

nvd.nist.gov

Click to open the original link from this advisory

Web Technologies, Zero-Day Vulnerabilities

Pheditor, a single-file PHP editor and file manager, contains an authenticated terminal command whitelist bypass vulnerability prior to version 2.0.5. The terminal feature validates commands by checking if they start with values in the TERMINAL_COMMANDS allowlist, but passes the full command string to shell_exec() without sanitization. Shell command substitution syntax such as $() is not blocked, allowing authenticated users with terminal permissions to inject and execute arbitrary shell commands as the web server user. This effectively renders the command allowlist protection useless. The vulnerability requires authentication and the terminal permission to exploit. A patch has been released in version 2.0.5 addressing this bypass. Users are advised to upgrade immediately to mitigate the risk of arbitrary command execution.

Technical details

Mitigation steps:

Affected products:

Pheditor

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Deze website toont informatie afkomstig van externe bronnen; Perceptive aanvaardt geen verantwoordelijkheid voor de juistheid, volledigheid of actualiteit van deze informatie.

bottom of page