CVE Vulnerabilities

CVE-2018-17199

Session Fixation

Published: Jan 30, 2019 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N
RedHat/V2
RedHat/V3
5.4 MODERATE
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

In Apache HTTP Server 2.4 release 2.4.37 and prior, mod_session checks the session expiry time before decoding the session. This causes session expiry time to be ignored for mod_session_cookie sessions since the expiry time is loaded when the session is decoded.

Weakness

Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.

Affected Software

NameVendorStart VersionEnd Version
Http_serverApache2.4.0 (including)2.4.37 (including)
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-apr-0:1.6.3-63.jbcs.el6*
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-apr-util-0:1.6.1-48.jbcs.el6*
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-brotli-0:1.0.6-7.jbcs.el6*
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-curl-0:7.64.1-14.jbcs.el6*
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-httpd-0:2.4.37-33.jbcs.el6*
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-jansson-0:2.11-20.jbcs.el6*
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-mod_cluster-native-0:1.3.12-9.Final_redhat_2.jbcs.el6*
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-mod_jk-0:1.2.46-22.redhat_1.jbcs.el6*
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-mod_security-0:2.9.2-16.GA.jbcs.el6*
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-nghttp2-0:1.39.2-4.jbcs.el6*
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-openssl-1:1.1.1-25.jbcs.el6*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-apr-0:1.6.3-63.jbcs.el7*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-apr-util-0:1.6.1-48.jbcs.el7*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-brotli-0:1.0.6-7.jbcs.el7*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-curl-0:7.64.1-14.jbcs.el7*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-httpd-0:2.4.37-33.jbcs.el7*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-jansson-0:2.11-20.jbcs.el7*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-mod_cluster-native-0:1.3.12-9.Final_redhat_2.jbcs.el7*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-mod_jk-0:1.2.46-22.redhat_1.jbcs.el7*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-mod_security-0:2.9.2-16.GA.jbcs.el7*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-nghttp2-0:1.39.2-4.jbcs.el7*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-openssl-1:1.1.1-25.jbcs.el7*
Red Hat Enterprise Linux 7RedHathttpd-0:2.4.6-93.el7*
Red Hat Enterprise Linux 8RedHathttpd:2.4-8040020210127115317.9f9e2e7e*
Red Hat Software Collections for Red Hat Enterprise Linux 6RedHathttpd24-0:1.1-19.el6*
Red Hat Software Collections for Red Hat Enterprise Linux 6RedHathttpd24-httpd-0:2.4.34-15.el6*
Red Hat Software Collections for Red Hat Enterprise Linux 6RedHathttpd24-nghttp2-0:1.7.1-8.el6*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHathttpd24-0:1.1-19.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHathttpd24-httpd-0:2.4.34-15.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHathttpd24-nghttp2-0:1.7.1-8.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSRedHathttpd24-0:1.1-19.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSRedHathttpd24-httpd-0:2.4.34-15.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSRedHathttpd24-nghttp2-0:1.7.1-8.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHathttpd24-0:1.1-19.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHathttpd24-httpd-0:2.4.34-15.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHathttpd24-nghttp2-0:1.7.1-8.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSRedHathttpd24-0:1.1-19.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSRedHathttpd24-httpd-0:2.4.34-15.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSRedHathttpd24-nghttp2-0:1.7.1-8.el7*
Text-Only JBCSRedHathttpd*
Apache2Ubuntubionic*
Apache2Ubuntucosmic*
Apache2Ubuntuesm-infra-legacy/trusty*
Apache2Ubuntuesm-infra/bionic*
Apache2Ubuntuesm-infra/xenial*
Apache2Ubuntutrusty*
Apache2Ubuntutrusty/esm*
Apache2Ubuntuupstream*
Apache2Ubuntuxenial*

Extended Description

Such a scenario is commonly observed when:

In the generic exploit of session fixation vulnerabilities, an attacker creates a new session on a web application and records the associated session identifier. The attacker then causes the victim to associate, and possibly authenticate, against the server using that session identifier, giving the attacker access to the user’s account through the active session.

Potential Mitigations

References