#VU72690 OS Command Injection in pdf_info


Published: 2023-03-01

Vulnerability identifier: #VU72690

Vulnerability risk: High

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

CVE-ID: CVE-2022-36231

CWE-ID: CWE-78

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
pdf_info
Universal components / Libraries / Programming Languages & Components

Vendor: rubygems.org

Description

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

The vulnerability exists due to improper input validation  when executing a method on a PDF::Info object. A remote unauthenticated attacker can pass specially crafted data to the application and execute arbitrary OS commands on the target system.

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

Mitigation
Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

pdf_info: 0.1.0 - 0.5.3


External links
http://rubygems.org/gems/pdf_info
http://github.com/affix/CVE-2022-36231
http://github.com/newspaperclub/pdf_info/pull/15
http://github.com/newspaperclub/pdf_info/issues/16


Q & A

Can this vulnerability be exploited remotely?

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

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability