Remote code execution in OpenOffice



Published: 2023-03-25
Risk High
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2022-38745
CVE-2022-47502
CWE-ID CWE-94
CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
OpenOffice
Client/Desktop applications / Office applications

Vendor Apache Foundation

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Code Injection

EUVDB-ID: #VU74031

Risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-38745

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation. A remote attacker can trick the victim to open a specially crafted file and execute arbitrary Java code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

OpenOffice: 4.1.0 - 4.1.13

External links

http://www.openoffice.org/security/cves/CVE-2022-38745.html
http://lists.apache.org/thread/q3noq7m681kvtb29m28x74q8cnwnzzo0


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to trick the victim to visit a specially crafted website or open a file.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Input validation error

EUVDB-ID: #VU74032

Risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-47502

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to insufficient validation of user-supplied input when executing internal macro with arbitrary arguments. A remote attacker can trick the victim to open a specially crafted file, bypass the user approval for opening the links from the document and execute arbitrary script on the system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

OpenOffice: 4.0.0 - 4.1.13

External links

http://www.openoffice.org/security/cves/CVE-2022-47502.html
http://lists.apache.org/thread/xr6tl91jj2jgcq8pdbrc4d8w13s6xn80


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to trick the victim to visit a specially crafted website or open a file.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###