# CVE-2024-8408: Linksys WRT54G POST Parameter apply.cgi validate_services_port stack-based overflow

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-09-04T14:00:06.823Z
- Modified: 2026-06-17T08:22:31.473Z
- Weaknesses: CWE-121, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was found in Linksys WRT54G 4.21.5. It has been rated as critical. Affected by this issue is the function validate_services_port of the file /apply.cgi of the component POST Parameter Handler. The manipulation of the argument services_array leads to stack-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

(As written by CVE List.)

## Affected

- Linksys WRT54G: 4.21.5
- linksys wrt54g_firmware: 4.21.5

## Every score

- VulDB: CVSS:4.0 5.3 Medium `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`
- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/BuaaIOTTeam/Iot_Linksys/blob/main/Linksys_WRT54G_validate_services_port.md> (exploit, third-party-advisory)
- <https://vuldb.com/?id.276488> (permissions-required, technical-description, vdb-entry)
- <https://vuldb.com/?ctiid.276488> (permissions-required, signature)
- <https://vuldb.com/?submit.398567> (third-party-advisory, vdb-entry)
- <https://www.linksys.com/> (product)

## Sources

- CVE List: [CVE-2024-8408](https://www.cve.org/CVERecord?id=CVE-2024-8408), CVE Terms of Use, modified 2024-09-04
- NVD: [CVE-2024-8408](https://nvd.nist.gov/vuln/detail/CVE-2024-8408), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-8408 · Whole record: https://cve.day/CVE-2024-8408.json · Rebuilt by cve.day 2026-11-25T22:58:45.056Z
