| عنوان | D-Link R15 v1.22 OS Command Injection |
|---|
| الوصف | The flupl file-upload endpoint (/flupl/nodered) of the D-Link R15 (Eagle Pro AI AX1500, firmware v1.22) contains a command injection vulnerability. The user-controlled filename field in the multipart form is filtered using a blacklist that blocks only semicolons, ampersands, pipes, greater-than and less-than signs, and spaces. The filename is then concatenated into a temporary file path under /tmp and inserted without quotes into the shell command tar -xvf %s -C %s && rm -rf %s &, which is executed through exec_cmd, pox_system, and ultimately system(). Because the blacklist does not block $() command substitution, an attacker can inject $(command) into the filename, causing the command to be evaluated during shell parsing. The basename extraction logic can also be bypassed using an a/ prefix, allowing the payload to remain intact after the final slash. This results in arbitrary command execution with root (uid=0) privileges.
The endpoint’s authentication mechanism checks only whether a session exists, not whether the session has been authenticated with a password. An HNAP Login challenge request with Action=request creates a session and issues a cookie without requiring a password. Consequently, the vulnerability is unauthenticated and can be exploited by any attacker with access to the LAN. |
|---|
| المصدر | ⚠️ https://github.com/nenghun/Hacker/tree/main/R15_nb_rce |
|---|
| المستخدم | mizhou (UID 102593) |
|---|
| ارسال | 28/10/2026 06:06 PM (1 شهر منذ) |
|---|
| الاعتدال | 28/11/2026 03:24 AM (1 month later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 445049 [D-Link R15 حتى 1.22 Upload /flupl/nodered filename تجاوز الصلاحيات] |
|---|
| النقاط | 20 |
|---|