#VU73271 Information disclosure in Twig - CVE-2019-9942


Vulnerability identifier: #VU73271

Vulnerability risk: Low

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

CVE-ID: CVE-2019-9942

CWE-ID: CWE-200

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Twig
Web applications / CMS

Vendor: Symfony

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to sandbox information disclosure via the __toString() method call on an object that even can be disabled by the security policy in place. A remote attacker can gain unauthorized access to sensitive information on the system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Twig: 1.0.0, 1.1.0 - 1.19.0, 1.2.0 - 1.29.0, 1.3.0 - 1.37.1, 1.4.0, 1.5.0 - 1.5.1, 1.6.0 - 1.6.5, 1.7.0, 1.8.0 - 1.8.3, 1.9.0 - 1.9.2, 2.0.0, 2.1.0, 2.2.0, 2.3.0 - 2.3.2, 2.4.0 - 2.4.8, 2.5.0, 2.6.0 - 2.6.2


External links
https://symfony.com/blog/twig-sandbox-information-disclosure
https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077
https://www.debian.org/security/2019/dsa-4419
https://seclists.org/bugtraq/2019/Mar/60


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.


Latest bulletins with this vulnerability