CVE-2024-8408
published medium CVSS 4.0 · 5.3Linksys WRT54G POST Parameter apply.cgi validate_services_port stack-based overflow
Package status and fixes
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.
Eine kritische Schwachstelle wurde in Linksys WRT54G 4.21.5 ausgemacht. Betroffen davon ist die Funktion validate_services_port der Datei /apply.cgi der Komponente POST Parameter Handler. Durch die Manipulation des Arguments services_array mit unbekannten Daten kann eine stack-based buffer overflow-Schwachstelle ausgenutzt werden. Die Umsetzung des Angriffs kann dabei über das Netzwerk erfolgen. Der Exploit steht zur öffentlichen Verfügung.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.3 | medium | VulDB · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | — |
| 3.0 | 6.3 | medium | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | — |
| 2.0 | 6.5 | medium | VulDB · cna | AV:N/AC:L/Au:S/C:P/I:P/A:P | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linksys | WRT54G | 4.21.5 (affected) | VulDB · cna |
| linksys | wrt54g | 4.21.5 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-121 CWE-121 Stack-based Buffer Overflow
References
5- https://github.com/BuaaIOTTeam/Iot_Linksys/blob/main/Linksys_WRT54G_validate_services_port.md
- VDB-276488 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/?ctiid.276488
- VDB-276488 | Linksys WRT54G POST Parameter apply.cgi validate_services_port stack-based overflow https://vuldb.com/?id.276488
- Submit #398567 | Linksys WRT54G v4.21.5 Command Injection https://vuldb.com/?submit.398567
- https://www.linksys.com/
Provider assertions
2VulDB · cna
Linksys WRT54G POST Parameter apply.cgi validate_services_port stack-based overflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c5b684846b811c38a08b75a847d03721abca8dc248644f459e162cbc87c94076
- Ingested
- 23 Sep 2026, 08:34:06 UTC
- Source record
- Official CVE record