Bug 1560395 (CVE-2018-1283) - CVE-2018-1283 httpd: Improper handling of headers in mod_session can allow a remote user to modify session data for CGI applications
Summary: CVE-2018-1283 httpd: Improper handling of headers in mod_session can allow a ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-1283
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1560396 1560401 1566531 1566539
Blocks: 1560397
TreeView+ depends on / blocked
 
Reported: 2018-03-26 04:22 UTC by Sam Fowler
Modified: 2022-03-13 14:48 UTC (History)
48 users (show)

Fixed In Version: httpd 2.4.30
Doc Type: If docs needed, set a value
Doc Text:
It has been discovered that the mod_session module of Apache HTTP Server (httpd), through version 2.4.29, has an improper input validation flaw in the way it handles HTTP session headers in some configurations. A remote attacker may influence their content by using a "Session" header.
Clone Of:
Environment:
Last Closed: 2019-06-10 10:18:26 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:3558 0 None None None 2018-11-13 08:35:49 UTC
Red Hat Product Errata RHSA-2019:0366 0 None None None 2019-02-18 16:55:39 UTC
Red Hat Product Errata RHSA-2019:0367 0 None None None 2019-02-18 16:58:20 UTC
Red Hat Product Errata RHSA-2020:3958 0 None None None 2020-09-29 20:07:15 UTC

Description Sam Fowler 2018-03-26 04:22:56 UTC
Apache HTTP Server (httpd) through version 2.4.29 has a vulnerability in the handling of HTTP session headers in mod_session. When mod_session is configured to forward its session data to CGI applications (SessionEnv on, not the default), a remote user may influence their content by using a "Session" header.


Upstream Advisory:

https://httpd.apache.org/security/vulnerabilities_24.html


Upstream Patch:

https://svn.apache.org/viewvc?view=revision&sortby=log&revision=1824477

Comment 1 Sam Fowler 2018-03-26 04:23:14 UTC
Created httpd tracking bugs for this issue:

Affects: fedora-all [bug 1560396]

Comment 7 Riccardo Schirone 2018-04-12 14:26:50 UTC
Statement:

This issue did not affect the versions of httpd as shipped with Red Hat Enterprise Linux 5 and 6 as they did not include mod_session module.

Comment 8 Jason Shepherd 2018-05-25 05:00:46 UTC
mod_session is not installed in RHMAP HTTPD image. Marking RHMAP as not affected.
[root@5736ef9f6784 /]# ls /opt/rh/httpd24/root/usr/lib64/httpd/modules/mod_s
mod_sed.so               mod_slotmem_shm.so       mod_socache_shmcb.so     mod_status.so            mod_systemd.so           
mod_setenvif.so          mod_socache_dbm.so       mod_speling.so           mod_substitute.so        
mod_slotmem_plain.so     mod_socache_memcache.so  mod_ssl.so               mod_suexec.so

Comment 12 errata-xmlrpc 2018-11-13 08:35:37 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS

Via RHSA-2018:3558 https://access.redhat.com/errata/RHSA-2018:3558

Comment 17 errata-xmlrpc 2019-02-18 16:55:37 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Core Services

Via RHSA-2019:0366 https://access.redhat.com/errata/RHSA-2019:0366

Comment 18 errata-xmlrpc 2019-02-18 16:58:18 UTC
This issue has been addressed in the following products:

  JBoss Core Services on RHEL 6
  JBoss Core Services on RHEL 7

Via RHSA-2019:0367 https://access.redhat.com/errata/RHSA-2019:0367

Comment 19 errata-xmlrpc 2020-09-29 20:07:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:3958 https://access.redhat.com/errata/RHSA-2020:3958


Note You need to log in before you can comment on or make changes to this bug.