Multiple vulnerabilities in Freecad



Risk High
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2021-45845
CVE-2021-45844
CWE-ID CWE-78
Exploitation vector Network
Public exploit N/A
Vulnerable software
Freecad
Other software / Other software solutions

Vendor Freecadweb

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) OS Command Injection

EUVDB-ID: #VU67353

Risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2021-45845

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: No

Description

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

The vulnerability exists due to improper input validation within the Path Sanity Check script when processing FCStd documents. A remote attacker can pass specially crafted FCStd document 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

Install updates from vendor's website.

Vulnerable software versions

Freecad: 0.19 - 0.19.4

CPE2.3 External links

https://tracker.freecad.org/view.php?id=4810
https://github.com/FreeCAD/FreeCAD/pull/5306


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.

2) OS Command Injection

EUVDB-ID: #VU67352

Risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2021-45844

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: No

Description

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

The vulnerability exists due to improper input validation within the ODA File Converter when processing file names. A remote attacker can pass a specially crafted file 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

Install updates from vendor's website.

Vulnerable software versions

Freecad: 0.19 - 0.19.4

CPE2.3 External links

https://tracker.freecad.org/view.php?id=4809
https://forum.freecadweb.org/viewtopic.php?t=64733
https://lists.debian.org/debian-lts-announce/2022/03/msg00004.html
https://lists.debian.org/debian-lts-announce/2022/08/msg00008.html


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.



###SIDEBAR###