1. CVE archive
  2. 2024
  3. CVE-2024-28014

CVE-2024-28014

9.8 Critical severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 9.8 – Critical

Description

Stack-based Buffer Overflow vulnerability in NEC Corporation Aterm WG1800HP4, WG1200HS3, WG1900HP2, WG1200HP3, WG1800HP3, WG1200HS2, WG1900HP, WG1200HP2, W1200EX(-MS), WG1200HS, WG1200HP, WF300HP2, W300P, WF800HP, WR8165N, WG2200HP, WF1200HP2, WG1800HP2, WF1200HP, WG600HP, WG300HP, WF300HP, WG1800HP, WG1400HP, WR8175N, WR9300N, WR8750N, WR8160N, WR9500N, WR8600N, WR8370N, WR8170N, WR8700N, WR8300N, WR8150N, WR4100N, WR4500N, WR8100N, WR8500N, CR2500P, WR8400N, WR8200N, WR1200H, WR7870S, WR6670S, WR7850S, WR6650S, WR6600H, WR7800H, WM3400RN, WM3450RN, WM3500R, WM3600R, WM3800R, WR8166N, MR01LN MR02LN, WG1810HP(JE) and WG1810HP(MF) all versions allows a attacker to execute an arbitrary command via the internet.

Affected products

VendorProductVersionPlatform
nec aterm cr2500p firmware all –
nec aterm mr01ln firmware all –
nec aterm mr02ln firmware all –
nec aterm w1200ex-ms firmware all –
nec aterm w300p firmware all –
nec aterm wf1200hp firmware all –
nec aterm wf1200hp2 firmware all –
nec aterm wf300hp firmware all –
nec aterm wf300hp2 firmware all –
nec aterm wf800hp firmware all –
nec aterm wg1200hp firmware all –
nec aterm wg1200hp2 firmware all –
nec aterm wg1200hp3 firmware all –
nec aterm wg1200hs firmware all –
nec aterm wg1200hs2 firmware all –
nec aterm wg1200hs3 firmware all –
nec aterm wg1400hp firmware all –
nec aterm wg1800hp firmware all –
nec aterm wg1800hp2 firmware all –
nec aterm wg1800hp3 firmware all –
nec aterm wg1800hp4 firmware all –
nec aterm wg1810hp(je) firmware all –
nec aterm wg1810hp(mf) firmware all –
nec aterm wg1900hp firmware all –
nec aterm wg1900hp2 firmware all –
nec aterm wg2200hp firmware all –
nec aterm wg300hp firmware all –
nec aterm wg600hp firmware all –
nec aterm wm3400rn firmware all –
nec aterm wm3450rn firmware all –
nec aterm wm3500r firmware all –
nec aterm wm3600r firmware all –
nec aterm wm3800r firmware all –
nec aterm wr1200h firmware all –
nec aterm wr4100n firmware all –
nec aterm wr4500n firmware all –
nec aterm wr6600h firmware all –
nec aterm wr6650s firmware all –
nec aterm wr6670s firmware all –
nec aterm wr7800h firmware all –
nec aterm wr7850s firmware all –
nec aterm wr7870s firmware all –
nec aterm wr8100n firmware all –
nec aterm wr8150n firmware all –
nec aterm wr8160n firmware all –
nec aterm wr8165n firmware all –
nec aterm wr8166n firmware all –
nec aterm wr8170n firmware all –
nec aterm wr8175n firmware all –
nec aterm wr8200n firmware all –
nec aterm wr8300n firmware all –
nec aterm wr8370n firmware all –
nec aterm wr8400n firmware all –
nec aterm wr8500n firmware all –
nec aterm wr8600n firmware all –
nec aterm wr8700n firmware all –
nec aterm wr8750n firmware all –
nec aterm wr9300n firmware all –
nec aterm wr9500n firmware all –
All 15 Nec Aterm Wg1200hs3 Firmware vulnerabilities

Vulnerability type

CWE-121 Stack-based Buffer Overflow

The product writes past the end of a buffer that was allocated on the stack.

Impact on systems

ScopeImpact
Availability Modify Memory, DoS: Crash, Exit, or Restart, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory)
Buffer overflows generally lead to crashes. Other attacks leading to lack of availability are possible, including putting the program into an infinite loop.
Integrity, Confidentiality, Availability, Access Control Modify Memory, Execute Unauthorized Code or Commands, Bypass Protection Mechanism
Buffer overflows often can be used to execute arbitrary code, which is usually outside the scope of a program's implicit security policy.
Integrity, Confidentiality, Availability, Access Control, Other Modify Memory, Execute Unauthorized Code or Commands, Bypass Protection Mechanism, Other
When the consequence is arbitrary code execution, this can often be used to subvert any other security service.

How to prevent it

Operation · Build and Compilation · Environment Hardening Use automatic buffer overflow detection mechanisms that are offered by certain compilers or compiler extensions. Examples include: the Microsoft Visual Studio /GS flag, Fedora/Red Hat FORTIFY_SOURCE GCC flag, StackGuard, and ProPolice, which provide various mechanisms including canary-based detection and range/index checking. D3-SFCV (Stack Frame Canary Validation) from D3FEND discusses canary-based detection in detail.
Architecture and Design Use an abstraction library to abstract away risky APIs. Not a complete solution.
Implementation Implement and perform bounds checking on input.
Implementation Do not use dangerous functions such as gets. Use safer, equivalent functions which check for boundary errors.
Operation · Build and Compilation · Environment Hardening Run or compile the software using features or extensions that randomly arrange the positions of a program's executable and libraries in memory. Because this makes the addresses unpredictable, it can prevent an attacker from reliably jumping to exploitable code. Examples include Address Space Layout Randomization (ASLR) and Position-Independent Executables (PIE). Imported modules may be similarly realigned if their default memory addresses conflict with other modules, in a process known as rebasing (for Windows) and prelinking (for Linux) using randomly generated addresses. ASLR for libraries cannot be used in conjunction with prelink since it would require relocating the libraries at run-time, defeating the whole purpose of prelinking. For more information on these techniques see D3-SAOR (Segment Address Offset Randomization) from D3FEND.

All 2,147 CWE-121 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org