SB2019051003 - Debian update for symfony



SB2019051003 - Debian update for symfony

Published: May 10, 2019

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

Breakdown by Severity

High 25% Medium 50% Low 25%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 8 secuirty vulnerabilities.


1) Support for legacy HTTP methods (CVE-ID: CVE-2018-14773)

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

The vulnerability exists due to Symfony HttpFoundation component includes support for legacy Microsoft IIS headers X-Original-URL and X-Rewrite-URL. A remote attacker can send a specially crafted HTTP request to the vulnerable application requesting one URL but have Symphony return a different one. An attacker can abuse X-Original-URL and X-Rewrite-URL headers to access otherwise restricted functionality and bypass restrictions on higher level caches and web servers.



2) Improper input validation (CVE-ID: CVE-2018-19789)

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

The vulnerability exists due to an error when using the scalar type hint `string` in a setter method (e.g. `setName(string $name)`) of a class that's the `data_class` of a form A remote unauthenticated attacker can submit a file upload to the corresponding field instead of a normal text input, call `UploadedFile::__toString()` which will then return and disclose the path of the uploaded file. If combined with a local file inclusion issue in certain circumstances a remote attacker can execute arbitrary code with elevated privileges.

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



3) Open redirect (CVE-ID: CVE-2018-19790)

The vulnerability allows a remote unauthenticated attacker to redirect the target user to external websites.

The weakness exists due to improper sanitization of user-supplied data. A remote attacker can use backslashes in the `_failure_path` input field of login forms, work around the redirection target restrictions and effectively redirect the user to any domain after login.

4) Cross-site scripting (CVE-ID: CVE-2019-10909)

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data within the form theme of the PHP templating engine. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


5) Code injection (CVE-ID: CVE-2019-10910)

The disclosed vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to insufficient sanitization of user-supplied data related to service identifiers. A remote attacker can send specially crafted HTTP request to the affected system and execute arbitrary PHP code.

Successful exploitation of this vulnerability may allow a remote attacker to compromise the affected application.

6) Improper authentication (CVE-ID: CVE-2019-10911)

The disclosed vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to the way application handles values within HTTP cookies, related to session expiration time and username. A remote attacker can modify the remember me cookie value and authenticate as a different user.

This attack is only possible if remember me functionality is enabled and the two users share a password hash or the password hashes (e.g. UserInterface::getPassword()) are null for all users (which is valid if passwords are checked by an external system, e.g. an SSO).

7) Insecure deserialization (CVE-ID: CVE-2019-10912)

The disclosed vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to insecure call of the unserialize() PHP function in untrusted user-input. A remote attacker can send specially crafted HTTP request to the affected system and delete arbitrary files on the system or display raw data output.


8) Improper input validation (CVE-ID: CVE-2019-10913)

The disclosed vulnerability allows a remote attacker to bypass certain security restrictions.

The vulnerability exists due to absent validation of HTTP methods when processing methods directly or via X-Http-Method-Override header. A remote attacker can pass specially crafted string as HTTP method and bypass certain security restrictions.


Remediation

Install update from vendor's website.