SB2023031401 - Ubuntu update for php-twig 



SB2023031401 - Ubuntu update for php-twig

Published: March 14, 2023

Security Bulletin ID SB2023031401
Severity
High
Patch available
YES
Number of vulnerabilities 3
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 33% Medium 33% Low 33%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 3 secuirty vulnerabilities.


1) Information disclosure (CVE-ID: CVE-2019-9942)

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.


2) Security features bypass (CVE-ID: CVE-2022-23614)

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to missing security restrictions for non closures in "sort" filter when using a sandbox mode. A remote attacker can pass specially crafted data to the application and execute arbitrary PHP code on the system.


3) Path traversal (CVE-ID: CVE-2022-39261)

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences when loading templates. A remote attacker can use the "source" or "include" statement to read arbitrary files on the system.


Remediation

Install update from vendor's website.