CVE-2024-7922
published 2024-08-19CVE-2024-7922: A vulnerability was found in D-Link DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321, DNR-322L, DNS-323, DNS-325, DNS-326, DNS-327L, DNR-326…
PriorityP277critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
19.46%
97.1th percentile
A vulnerability was found in D-Link DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321, DNR-322L, DNS-323, DNS-325, DNS-326, DNS-327L, DNR-326, DNS-340L, DNS-343, DNS-345, DNS-726-4, DNS-1100-4, DNS-1200-05 and DNS-1550-04 up to 20240814 and classified as critical. Affected by this issue is the function cgi_audio_search/cgi_create_playlist/cgi_get_album_all_tracks/cgi_get_alltracks_editlist/cgi_get_artist_all_album/cgi_get_genre_all_tracks/cgi_get_tracks_list/cgi_set_airplay_content/cgi_write_playlist of the file /cgi-bin/myMusic.cgi. The manipulation leads to command injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. NOTE: This vulnerability only affects products that are no longer supported by the maintainer. NOTE: Vendor was contacted early and confirmed that the product is end-of-life. It should be retired and replaced.
Affected
20 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| d-link | dnr-202l | — | — |
| d-link | dnr-322l | — | — |
| d-link | dnr-326 | — | — |
| d-link | dns-1100-4 | — | — |
| d-link | dns-120 | — | — |
| d-link | dns-1200-05 | — | — |
| d-link | dns-1550-04 | — | — |
| d-link | dns-315l | — | — |
| d-link | dns-320 | — | — |
| d-link | dns-320l | — | — |
| d-link | dns-320lw | — | — |
| d-link | dns-321 | — | — |
| d-link | dns-323 | — | — |
| d-link | dns-325 | — | — |
| d-link | dns-326 | — | — |
| d-link | dns-327l | — | — |
| d-link | dns-340l | — | — |
| d-link | dns-343 | — | — |
| d-link | dns-345 | — | — |
| d-link | dns-726-4 | — | — |
Detection & IOCsextracted from sources · hover to see the quote
path/cgi-bin/myMusic.cgi
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS D-Link myMusic.cgi Multiple Parameters Command Injection Attempt (CVE-2024-7922)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:20; content:"/cgi-bin/myMusic.cgi"; fast_pattern; http.request_body; pcre:"/(?:user|artist)\x3d[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/"; reference:cve,2024-7922; classtype:attempted-admin; sid:2065144; rev:1; metadata:affected_product D_Link, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_10_10, cve CVE_2024_7922, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2025_10_10, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application; target:dest_ip;)
- →Target POST requests to /cgi-bin/myMusic.cgi (exact URI length: 20 bytes) for command injection payloads in the request body.
- →Inspect the HTTP request body for 'user' or 'artist' parameters containing shell metacharacters: semicolon (;/%3B), newline (\n/%0A), backtick (`/%60), pipe (|/%7C), or dollar sign ($/%24) — both raw and URL-encoded forms.
- →Vulnerable functions span multiple CGI handlers in myMusic.cgi: cgi_audio_search, cgi_create_playlist, cgi_get_album_all_tracks, cgi_get_alltracks_editlist, cgi_get_artist_all_album, cgi_get_genre_all_tracks, cgi_get_tracks_list, cgi_set_airplay_content, cgi_write_playlist — all should be monitored. ↗
- →Traffic is expected in plaintext (no TLS); deploy detection at the network perimeter and internally.
- ·All affected D-Link devices (DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321, DNR-322L, DNS-323, DNS-325, DNS-326, DNS-327L, DNR-326, DNS-340L, DNS-343, DNS-345, DNS-726-4, DNS-1100-4, DNS-1200-05, DNS-1550-04) are end-of-life with no patch available; the only remediation is device retirement. ↗
- ·The exploit has been publicly disclosed and is actively available, raising the urgency of detection and network isolation for affected devices. ↗
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv4.05.3MEDIUMCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:P
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Suricata
ET WEB_SPECIFIC_APPS D-Link myMusic.cgi Multiple Parameters Command Injection Attempt (CVE-2024-7922)
suricata·2025-10-10·CVSS 5.3
CVE-2024-7922 [MEDIUM] ET WEB_SPECIFIC_APPS D-Link myMusic.cgi Multiple Parameters Command Injection Attempt (CVE-2024-7922)
ET WEB_SPECIFIC_APPS D-Link myMusic.cgi Multiple Parameters Command Injection Attempt (CVE-2024-7922)
Rule: alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS D-Link myMusic.cgi Multiple Parameters Command Injection Attempt (CVE-2024-7922)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:20; content:"/cgi-bin/myMusic.cgi"; fast_pattern; http.request_body; pcre:"/(?:user|artist)\x3d[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/"; reference:cve,2024-7922; classtype:attempted-admin; sid:2065144; rev:1; metadata:affected_product D_Link, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_10_10, cve CVE_2024_7922, deployment Perimeter, deployment Internal, performance_impact Low, confidence Hig
No public exploits indexed.
https://github.com/BuaaIOTTeam/Iot_Dlink_NAS/blob/main/DNS_cgi_create_playlist.mdhttps://github.com/BuaaIOTTeam/Iot_Dlink_NAS/blob/main/DNS_cgi_get_tracks_list.mdhttps://supportannouncement.us.dlink.com/security/publication.aspx?name=SAP10383https://vuldb.com/?ctiid.275108https://vuldb.com/?id.275108https://vuldb.com/?submit.391669
2024-08-19
Published