Buffer overflow in QNAP QTS/QuTS/QuTScloud pre5.1 allows admin code exec
CVE-2023-32971 Published on October 6, 2023
QTS, QuTS hero, QuTScloud
A buffer copy without checking size of input vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow authenticated administrators to execute code via a network.
We have already fixed the vulnerability in the following versions:
QTS 5.0.1.2425 build 20230609 and later
QTS 5.1.0.2444 build 20230629 and later
QTS 4.5.4.2467 build 20230718 and later
QuTS hero h5.0.1.2515 build 20230907 and later
QuTS hero h5.1.0.2424 build 20230609 and later
QuTS hero h4.5.4.2476 build 20230728 and later
QuTScloud c5.1.0.2498 and later
Vulnerability Analysis
CVE-2023-32971 can be exploited with network access, and requires user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality, with no impact on integrity and availability.
Weakness Types
What is a Classic Buffer Overflow Vulnerability?
The program copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. A buffer overflow condition exists when a program attempts to put more data in a buffer than it can hold, or when a program attempts to put data in a memory area outside of the boundaries of a buffer. The simplest type of error, and the most common cause of buffer overflows, is the "classic" case in which the program copies the buffer without restricting how much is copied. Other variants exist, but the existence of a classic overflow strongly suggests that the programmer is not considering even the most basic of security protections.
CVE-2023-32971 has been classified to as a Classic Buffer Overflow vulnerability or weakness.
What is a Stack Overflow Vulnerability?
A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
CVE-2023-32971 has been classified to as a Stack Overflow vulnerability or weakness.
Products Associated with CVE-2023-32971
Want to know whenever a new CVE is published for QNAP products? stack.watch will email you.
Affected Versions
QNAP Systems Inc. QTS:- Version 5.0.x and below 5.0.1.2425 build 20230609 is affected.
- Version 5.1.x and below 5.1.0.2444 build 20230629 is affected.
- Version 4.5.x and below 4.5.4.2467 build 20230718 is affected.
- Version h5.0.x and below h5.0.1.2515 build 20230907 is affected.
- Version h5.1.x and below h5.1.0.2424 build 20230609 is affected.
- Version h4.5.x and below h4.5.4.2476 build 20230728 is affected.
- Version c5.0.x and below c5.1.0.2498 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.