{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-8131",
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "state": "PUBLISHED",
        "assignerShortName": "VulDB",
        "dateReserved": "2024-08-23T18:29:57.862Z",
        "datePublished": "2024-08-24T17:31:05.870Z",
        "dateUpdated": "2024-08-26T20:30:42.009Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
                "shortName": "VulDB",
                "dateUpdated": "2024-08-24T17:31:05.870Z"
            },
            "title": "D-Link DNS-1550-04 HTTP POST Request apkg_mgr.cgi module_enable_disable command injection",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-77",
                            "lang": "en",
                            "description": "CWE-77 Command Injection"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "D-Link",
                    "product": "DNS-120",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNR-202L",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNS-315L",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNS-320",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNS-320L",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNS-320LW",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNS-321",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNR-322L",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNS-323",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNS-325",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNS-326",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNS-327L",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNR-326",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNS-340L",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNS-343",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNS-345",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNS-726-4",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNS-1100-4",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNS-1200-05",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                },
                {
                    "vendor": "D-Link",
                    "product": "DNS-1550-04",
                    "versions": [
                        {
                            "version": "20240814",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "HTTP POST Request Handler"
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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 module_enable_disable of the file /cgi-bin/apkg_mgr.cgi of the component HTTP POST Request Handler. The manipulation of the argument f_module_name 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."
                },
                {
                    "lang": "de",
                    "value": "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 gefunden. Sie wurde als kritisch eingestuft. Dies betrifft die Funktion module_enable_disable der Datei /cgi-bin/apkg_mgr.cgi der Komponente HTTP POST Request Handler. Durch das Beeinflussen des Arguments f_module_name mit unbekannten Daten kann eine command injection-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk passieren. Der Exploit steht zur öffentlichen Verfügung."
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "version": "4.0",
                        "baseScore": 5.3,
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "baseScore": 6.3,
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV3_0": {
                        "version": "3.0",
                        "baseScore": 6.3,
                        "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV2_0": {
                        "version": "2.0",
                        "baseScore": 6.5,
                        "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P"
                    }
                }
            ],
            "timeline": [
                {
                    "time": "2024-08-23T00:00:00.000Z",
                    "lang": "en",
                    "value": "Advisory disclosed"
                },
                {
                    "time": "2024-08-23T02:00:00.000Z",
                    "lang": "en",
                    "value": "VulDB entry created"
                },
                {
                    "time": "2024-08-23T20:35:16.000Z",
                    "lang": "en",
                    "value": "VulDB entry last update"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Buaa1otTeam (VulDB User)",
                    "type": "reporter"
                }
            ],
            "references": [
                {
                    "url": "https://vuldb.com/?id.275702",
                    "name": "VDB-275702 | D-Link DNS-1550-04 HTTP POST Request apkg_mgr.cgi module_enable_disable command injection",
                    "tags": [
                        "vdb-entry",
                        "technical-description"
                    ]
                },
                {
                    "url": "https://vuldb.com/?ctiid.275702",
                    "name": "VDB-275702 | CTI Indicators (IOB, IOC, TTP, IOA)",
                    "tags": [
                        "signature",
                        "permissions-required"
                    ]
                },
                {
                    "url": "https://vuldb.com/?submit.396292",
                    "name": "Submit #396292 | D-Link DNS 320/320L/321/323/325/327L Command Injection",
                    "tags": [
                        "third-party-advisory"
                    ]
                },
                {
                    "url": "https://github.com/BuaaIOTTeam/Iot_Dlink_NAS/blob/main/DNS_module_enable_disable.md",
                    "tags": [
                        "exploit"
                    ]
                },
                {
                    "url": "https://supportannouncement.us.dlink.com/security/publication.aspx?name=SAP10383",
                    "tags": [
                        "related"
                    ]
                },
                {
                    "url": "https://www.dlink.com/",
                    "tags": [
                        "product"
                    ]
                }
            ],
            "tags": [
                "unsupported-when-assigned"
            ]
        },
        "adp": [
            {
                "affected": [
                    {
                        "vendor": "dlink",
                        "product": "dns-726-4_firmware",
                        "cpes": [
                            "cpe:2.3:o:dlink:dnr-202l_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dnr-322l_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dnr-326_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dns-1100-4_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dns-1200-05_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dns-120_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dns-1550-04_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dns-315l_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dns-320_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dns-320l_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dns-320lw_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dns-321_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dns-323_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dns-325_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dns-326_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dns-327l_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dns-340l_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dns-343_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dns-345_firmware:20240814:*:*:*:*:*:*:*",
                            "cpe:2.3:o:dlink:dns-726-4_firmware:20240814:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "20240814",
                                "status": "affected"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-08-26T20:01:28.020110Z",
                                "id": "CVE-2024-8131",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-08-26T20:30:42.009Z"
                }
            }
        ]
    }
}