Quantum Secular Labs / Blog / Advisories

CVE-2024-7262: Kingsoft WPS Office Path Traversal Vulnerability

CVE-2024-7262 is rated critical with a CVSS v4.0 base score of 9.3 and affects Kingsoft WPS Office. Per its scoring, it can be exploited without authentication. The scored impact on confidentiality, integrity and availability is the highest available. CISA added it to its Known Exploited Vulnerabilities catalog on 2024-09-03, which means exploitation in the wild has been observed.

Vulnerability description

Improper path validation in promecefpluginhost.exe in Kingsoft WPS Office version ranging from 12.2.0.13110 to 12.2.0.16412 (exclusive) on Windows allows an attacker to load an arbitrary Windows library. The vulnerability was found weaponized as a single-click exploit in the form of a deceptive spreadsheet document

Severity breakdown

CVSS v4.0 9.3: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:N/R:X/V:X/RE:L/U:X

  • Attack vector: Local. The attacker needs local access.
  • Attack complexity: Low. No special conditions; the attack can be repeated reliably.
  • Attack requirements: None. No deployment or execution conditions are needed.
  • Privileges required: None. No account or prior access is needed.
  • User interaction: Passive. A user takes limited, routine action.
  • Confidentiality impact (vulnerable system): High. Total loss of confidentiality.
  • Integrity impact (vulnerable system): High. Total loss of integrity.
  • Availability impact (vulnerable system): High. Total loss of availability.
  • Confidentiality impact (subsequent systems): High. Total loss of confidentiality on other systems.
  • Integrity impact (subsequent systems): High. Total loss of integrity on other systems.
  • Availability impact (subsequent systems): High. Total loss of availability of other systems.

Underlying weakness

CWE-22: Improper Limitation of a Pathname to a Restricted Directory

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Affected products

  • Kingsoft Wps Office: from 12.2.0.13110 before 12.2.0.16412

References