HTTP Response Splitting Affecting rh-php56-php-pgsql package, versions <0:5.6.25-1.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.23% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-RHPHP56PHPPGSQL-4695454
  • published26 Jul 2021
  • disclosed3 Feb 2015

Introduced: 3 Feb 2015

CVE-2015-8935  (opens in a new tab)
CWE-113  (opens in a new tab)

How to fix?

Upgrade RHEL:7 rh-php56-php-pgsql to version 0:5.6.25-1.el7 or higher.
This issue was patched in RHSA-2016:2750.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rh-php56-php-pgsql package and not the rh-php56-php-pgsql package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

The sapi_header_op function in main/SAPI.c in PHP before 5.4.38, 5.5.x before 5.5.22, and 5.6.x before 5.6.6 supports deprecated line folding without considering browser compatibility, which allows remote attackers to conduct cross-site scripting (XSS) attacks against Internet Explorer by leveraging (1) %0A%20 or (2) %0D%0A%20 mishandling in the header function.