Authenticated terminal command whitelist bypass in Pheditor
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| pheditor | pheditor | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Pheditor | Pheditor |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-9643-6xjp-vx57 | Pheditor has an authenticated terminal command whitelist bypass |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.734% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Pheditor
Pheditor pheditor |
|
| Vendors & Products |
Pheditor
Pheditor pheditor |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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 terminal feature checks whether the submitted command starts with one of the configured TERMINAL_COMMANDS values, then passes the full command string to shell_exec(). Shell command substitution such as $() is not blocked, so an authenticated user with the terminal permission can bypass a restricted command allowlist and execute arbitrary shell commands as the web server user. This issue has been patched in version 2.0.5. | |
| Title | Authenticated terminal command whitelist bypass in Pheditor | |
| Weaknesses | CWE-78 | |
| References |
| |
| Metrics |
cvssV3_1
|