CVE Vulnerabilities

CVE-2023-39296

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Published: Jan 05, 2024 | Modified: Jan 11, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

A prototype pollution vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow users to override existing attributes with ones that have incompatible type, which may lead to a crash via a network.

We have already fixed the vulnerability in the following versions: QTS 5.1.3.2578 build 20231110 and later QuTS hero h5.1.3.2578 build 20231110 and later

Weakness

The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.

Affected Software

Name Vendor Start Version End Version
Qts Qnap 5.1.0.2348-build_20230325 (including) 5.1.0.2348-build_20230325 (including)
Qts Qnap 5.1.0.2399-build_20230515 (including) 5.1.0.2399-build_20230515 (including)
Qts Qnap 5.1.0.2418-build_20230603 (including) 5.1.0.2418-build_20230603 (including)
Qts Qnap 5.1.0.2444-build_20230629 (including) 5.1.0.2444-build_20230629 (including)
Qts Qnap 5.1.0.2466-build_20230721 (including) 5.1.0.2466-build_20230721 (including)
Qts Qnap 5.1.1.2491-build_20230815 (including) 5.1.1.2491-build_20230815 (including)
Qts Qnap 5.1.2.2533-build_20230926 (including) 5.1.2.2533-build_20230926 (including)

Extended Description

By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the product depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). This weakness is usually exploited by using a special attribute of objects called proto, constructor or prototype. Such attributes give access to the object prototype. This weakness is often found in code that assigns object attributes based on user input, or merges or clones objects recursively.

Potential Mitigations

References