Skip to content
Fencer Vulns
high 7.5

CVE-2018-1048 json

Improper Limitation of a Pathname to a Restricted Directory in Jboss EAP Undertow

published 2018-01-24 8 y ago modified 2026-06-17 4 mo ago also GHSA-prfw-3qx6-g9xr , EUVD-2022-4818

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.6%
EPSS 1.6% chance of exploitation in 30 days, percentile 75%
public exploits
0
none known

Summary

It was found that the AJP connector in undertow, as shipped in Jboss EAP 7.1.0.GA, does not use the ALLOW_ENCODED_SLASH option and thus allow the the slash / anti-slash characters encoded in the url which may lead to path traversal and result in the information disclosure of arbitrary local files.

Patch / fix

  • maven org.jboss.eap:wildfly-undertow 7.1.1.GA
  • undertow Debian 14 1.4.22-1

debian advisories DEBIAN-CVE-2018-1048

  • eap7-jboss-ec2-eap jboss enterprise application platform 7 7.1.1-3.1.GA_redhat_3.ep7.el6
  • eap7-jboss-ec2-eap jboss enterprise application platform 7.1 7.1.1-3.1.GA_redhat_3.ep7.el7
  • eap7-jboss-ec2-eap-samples jboss enterprise application platform 7 7.1.1-3.1.GA_redhat_3.ep7.el6
  • eap7-jboss-ec2-eap-samples jboss enterprise application platform 7.1 7.1.1-3.1.GA_redhat_3.ep7.el7
  • eap7-wss4j jboss enterprise application platform 7.1 2.1.11-1.redhat_1.1.ep7.el7
  • eap7-wildfly jboss enterprise application platform 7.1 7.1.1-4.GA_redhat_2.1.ep7.el7
  • eap7-narayana jboss enterprise application platform 7.1 5.5.31-1.Final_redhat_1.1.ep7.el7
  • eap7-resteasy jboss enterprise application platform 7.1 3.0.25-1.Final_redhat_1.1.ep7.el7

red hat advisories RHSA-2018:0481RHSA-2018:0480RHSA-2018:0479

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-1048 updated cvss 8.6

undertow: ALLOW_ENCODED_SLASH option not taken into account in the AjpRequestParser

  • Red Hat Fuse 7 Karaf Karaf
    affected: no fix available
  • Red Hat JBoss Fuse 6 Karaf Karaf
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Fuse Integration Service 2 undetow undetow
    affected: no fix available
  • Red Hat JBoss EAP 7.1
    fixed: vendor fix RHSA-2018:0478
  • Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6 Server eap7-wss4j 2.1.11-1.redhat_1.1.ep7.el6, eap7-wildfly 7.1.1-4.GA_redhat_2.1.ep7.el6, eap7-apache-cxf 3.1.13-1.redhat_1.1.ep7.el6, eap7-xml-security 2.0.9-1.redhat_1.1.ep7.el6, eap7-jackson-core 2.8.11-1.redhat_1.1.ep7.el6, eap7-undertow 1.4.18-4.SP2_redhat_1.1.ep7.el6, +126 more
    fixed: vendor fix RHSA-2018:0479
  • Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7 Server eap7-wss4j 2.1.11-1.redhat_1.1.ep7.el7, eap7-wildfly 7.1.1-4.GA_redhat_2.1.ep7.el7, eap7-apache-cxf 3.1.13-1.redhat_1.1.ep7.el7, eap7-xml-security 2.0.9-1.redhat_1.1.ep7.el7, eap7-jackson-core 2.8.11-1.redhat_1.1.ep7.el7, eap7-undertow 1.4.18-4.SP2_redhat_1.1.ep7.el7, +126 more
    fixed: vendor fix RHSA-2018:0481

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.59% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.jboss.eap:wildfly-undertow
>=7.1.0.GA, <7.1.1.GA
7.1.1.GA

Affected products

  • Red Hat, Inc. undertow as shipped in Jboss EAP 7.1.0.GA

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
  • CWE-116 Improper Encoding or Escaping of Output

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.