An arbitrary file creation and truncation vulnerability exists in File Explorer of ADM
An arbitrary file creation and truncation vulnerability exists in the File Explorer of ADM. An authenticated low-privileged user can upload a file with crafted path components containing quote and redirection characters. When music.cgi processes the entry for audio playback operations, the unescaped path string breaks out of the expected argument context in the internal command parser. This causes the system execution helper to open the attacker-specified path with root privileges using O_TRUNC, allowing remote attackers to truncate or create arbitrary system files. Affected products and versions include: from ADM 4.1.0 through ADM 4.3.3.RY62 as well as from ADM 5.0.0 through ADM 5.1.4.RM62.
Improper Neutralization of Special Elements used in an OS Command CWE-78
An attacker can make the server run commands of their choosing, which usually means full control of it.
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command before it is sent to a downstream component.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| ASUSTOR Inc. ADM | Software | from 5.0.0, up to and including 5.1.4.RM62; from 4.1.0, up to and including 4.3.3.RY62 | not recorded |
The 8.7 severity score (high) from asustor.com, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Setup needed on the target | None | No special setup on the target is needed. |
| Login needed | Low | The attacker needs an ordinary user account. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
NIST lists 1 sources for this flaw, none tagged as a vendor patch.