### [CVE-2024-8212](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-8212) ![](https://img.shields.io/static/v1?label=Product&message=DNR-202L&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNR-322L&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNR-326&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNS-1100-4&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNS-120&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNS-1200-05&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNS-1550-04&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNS-315L&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNS-320&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNS-320L&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNS-320LW&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNS-321&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNS-323&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNS-325&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNS-326&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNS-327L&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNS-340L&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNS-343&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNS-345&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=DNS-726-4&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=0%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=20240814%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-77%20Command%20Injection&color=brightgreen) ### Description 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. It has been rated as critical. This issue affects the function cgi_FMT_R12R5_2nd_DiskMGR of the file /cgi-bin/hd_config.cgi. The manipulation of the argument f_source_dev leads to command injection. The attack may be initiated 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. Eine Schwachstelle wurde 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 bis 20240814 ausgemacht. Sie wurde als kritisch eingestuft. Es geht hierbei um die Funktion cgi_FMT_R12R5_2nd_DiskMGR der Datei /cgi-bin/hd_config.cgi. Durch Manipulieren des Arguments f_source_dev mit unbekannten Daten kann eine command injection-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk angegangen werden. Der Exploit steht zur öffentlichen Verfügung. ### POC #### Reference - https://github.com/BuaaIOTTeam/Iot_Dlink_NAS/blob/main/DNS_cgi_FMT_R12R5_2nd_DiskMGR.md #### Github No PoCs found on GitHub currently.