CVE-2022-47502 Apache OpenOffice: Macro URL arbitrary script execution

High 7.8 Published Updated

Attackers can execute arbitrary scripts via malicious document links due to missing user approval prompts in Apache OpenOffice.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-47502?

CVE-2022-47502 is a high-severity code injection vulnerability in Apache Openoffice, published on 24 Mar 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Apache OpenOffice documents can contain links that call internal macros with arbitrary arguments. Several URI Schemes are defined for this purpose.

Links can be activated by clicks, or by automatic document events.

The execution of such links must be subject to user approval.

In the affected versions of OpenOffice, approval for certain links is not requested; when activated, such links could therefore result in arbitrary script execution.

Weakness: CWE-88, CWE-20

Which versions are affected by CVE-2022-47502?

It affects 1 product.

Products include Apache Openoffice.

How do I fix CVE-2022-47502?

No fix has been published for CVE-2022-47502 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2022-47502 being exploited?

There is no known exploitation of CVE-2022-47502 in the wild and no public exploit code.

All Apache Openoffice vulnerabilities

Sources

Also known as GHSA-3mv3-2f4g-87xm.

Is CVE-2022-47502 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free