Justsystem Ichitaro Protected Attribute Identifier Use-After-Free Vulnerablity
A use-after-free (and resulting double-free) exists in Ichitaro 2022 when it processes a specially crafted protected document, because an attribute object can be left with a zero identifier after a failed lookup. An attacker who convinces a victim to open a malicious document could corrupt memory and potentially execute arbitrary code.
A use-after-free vulnerability exists within the way Ichitaro Word Processor 2022, version 1.0.1.57600, processes protected documents. A specially crafted document can trigger reuse of freed memory, which can lead to further memory corruption and potentially result in arbitrary 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 a failed attribute lookup leaves the attribute object's identifier at zero, so the value buffer is allocated, written to the caller's pointer, then freed on the error path and freed again by the caller.
Impact
Opening a malicious document could corrupt memory and potentially lead to arbitrary code execution, though the text only says this is potential.
What the attacker needed
Victim opens a crafted document; local user interaction
How it was found
- Craft a document that causes the attribute lookup to fail and leave the identifier at zero.
- Open the crafted document in Ichitaro 2022 under a debugger such as WinDbg.
- Observe the double-free and subsequent memory corruption in the debugger.
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.
A word processor keeps track of pieces of a document in memory and frees them when done. Here, a lookup of a document property fails partway through, so the program frees the same memory twice and later still uses it. If an attacker crafts the document, they may be able to control what happens next and run their own code.
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.