WPS Office ET Data use of uninitialized pointer vulnerability
A malformed Excel file missing an obligatory Data element inside a Caption element causes WPS Office to use an uninitialized pointer. An attacker could exploit this to achieve remote code execution.
Originally disclosed on Cisco Talos
An uninitialized pointer use vulnerability exists in the functionality of WPS Office 11.2.0.11537 that handles Data elements in an Excel file. A specially crafted malformed file can lead to remote code execution.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the developers assumed the Data element would always be present and did not check for its absence, leading to an uninitialized pointer being used.
Impact
The uninitialized pointer is used in read and write operations, which with heap grooming could lead to precise memory corruption and remote code execution.
What the attacker needed
Victim opens a malicious file
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When a program allocates memory, it sometimes forgets to set it to a known value. If it later uses that memory as if it were a valid pointer, it can crash or be tricked into running attacker-controlled code. Here, a missing required element in a spreadsheet file leads to such a mistake.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.