cbcvebase.
CVE-2017-1000028
published 2017-07-17

CVE-2017-1000028: Oracle, GlassFish Server Open Source Edition 4.1 is vulnerable to both authenticated and unauthenticated Directory Traversal vulnerability, that can be…

PriorityP183high7.5CVSS 3.0
AVNACLPRNUINSUCHINAN
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
99.48%
99.9th percentile
Oracle, GlassFish Server Open Source Edition 4.1 is vulnerable to both authenticated and unauthenticated Directory Traversal vulnerability, that can be exploited by issuing a specially crafted HTTP GET request.

Affected

1 ranges
VendorProductVersion rangeFixed in
oracleglassfish_server

Detection & IOCsextracted from sources · hover to see the quote

port4848/TCP
url/theme/META-INF/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/etc/passwd
url/theme/META-INF/prototype%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%afwindows/win.ini
path/theme/META-INF/
commandcurl -k --connect-timeout 1 --max-time 1 'https://[target]:4848/resource/gonnados../mkay/done'
bytes
%c0%af (overlong UTF-8 encoding of forward slash used as path traversal separator)
sigma
detection: keywords: - '/theme/META-INF/' AND ('%c0%af' OR '%c0%ae') condition: keywords
  • Detect directory traversal attempts against GlassFish admin console by monitoring HTTP GET requests to /theme/META-INF/ containing overlong UTF-8 encoded path separators (%c0%af or %c0%ae) on port 4848.
  • Alert on HTTP 200 responses from GlassFish (port 4848) to /theme/META-INF/ traversal paths where the response body matches 'root:.*:0:0:' (Linux /etc/passwd or /etc/shadow) or contains 'bit app support' and 'fonts' and 'extensions' (Windows win.ini).
  • Detect the DoS variant by monitoring HTTP requests to the /resource/ path on port 4848 where '../' appears but is NOT immediately preceded by '/', which triggers an infinite loop in the normalize() method.
  • Flag Metasploit exploitation attempts: look for the repeating pattern '%c0%af..' (depth 13 repetitions by default) in the URI path targeting /theme/META-INF/prototype on port 4848.
  • ·The vulnerability affects GlassFish Server Open Source Edition 4.1 and prior; GlassFish 5.0 and above are NOT vulnerable as they no longer use the jsftemplating package for the admin console.
  • ·The admin console listens on port 4848/TCP by default; detections should be scoped to this port to reduce false positives.
  • ·Oracle GlassFish Server 3.x (the commercial release) is NOT affected; only the Open Source Edition 4.1 and prior are vulnerable.

CVSS provenance

nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
vulncheck7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.