Novell GroupWise — 1 vulnerability check
noctis ships 1 vulnerability check for Novell GroupWise, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Novell GroupWise 2014 < SP1 admin console FileUploadServlet unauthenticated file access
| CVE | CVE-2014-0600 |
|---|---|
| Severity | high · CVSS 7.8 |
| Category | file-read — File read |
| Services | http, https |
| Detection | script, set_var, http_request, match · highest QoD 75 |
| Feed | tests/vulnerabilities/novell-groupwise/CVE-2014-0600.yaml |
Tests the Novell GroupWise 2014 Administration console for the unauthenticated FileUploadServlet flaw fixed in GroupWise 2014 SP1 (CVE-2014-0600), which lets anyone read, write or delete arbitrary files on the server through the poLibMaintenanceFileSave parameter. The test sends one multipart POST to /gwadmin-console/gwAdminConsole/fileUpload whose only field is poLibMaintenanceFileSave with a random value, without logging in. It reports the host when the servlet answers this anonymous request with its GWCheck options download (a Content-Disposition attachment named gwcheck.opt) instead of sending the client to the console login page. No file path is sent and no file on the server is read or deleted.
How noctis detects it
- Parses / computes the next value with a Rhai script
- HTTP(S) request
POST /gwadmin-console/gwAdminConsole/fileUploadwith a crafted body - Parses / computes the next value with a Rhai script
- Checks
v.cdfor(?i)filename="gwcheck\.opt"→ finding QoD 75: Novell GroupWise admin console FileUploadServlet reachable without authentication (CVE-2014-0600)
References:
- https://nvd.nist.gov/vuln/detail/CVE-2014-0600
- https://www.zerodayinitiative.com/advisories/ZDI-14-296/
- https://www.novell.com/support/kb/doc.php?id=7015566
- https://www.securityfocus.com/bid/69424
Feed source — tests/vulnerabilities/novell-groupwise/CVE-2014-0600.yaml
# Novell GroupWise 2014 < SP1 — Administration console FileUploadServlet unauthenticated
# file access (CVE-2014-0600, ZDI-14-296 / ZDI-CAN-2287)
#
# The GroupWise 2014 Administration service (admin console, default HTTPS port 9710)
# maps FileUploadServlet at /gwadmin-console/gwAdminConsole/fileUpload. Before 2014 SP1
# the servlet handles the poLibMaintenanceFileSave form field (the library-maintenance
# "save GWCheck options" feature) without any session, and the same handler lets an
# attacker read, write and delete arbitrary files. SP1 puts the servlet behind the
# console login: an anonymous request is sent to login.jsp.
#
# Probe (as the reference checks do, no file path is ever sent, nothing is read or
# deleted): one multipart POST whose only part is poLibMaintenanceFileSave carrying a
# per-run random value. A vulnerable servlet answers it anonymously with the GWCheck
# options download (Content-Disposition filename="gwcheck.opt"); a fixed or
# unauthenticated-protected one redirects to / mentions login.jsp. The finding requires
# the gwcheck.opt attachment name in the Content-Disposition header (not just anywhere
# in the page) and no login.jsp in the Location header or body.
#
# CVSS: NVD v2 7.8 (AV:N/AC:L/Au:N/C:C/I:N/A:N); NVD has no v3 score.
#
# Ported from OpenVAS/Greenbone NVT 2014/gb_novell_groupwise_69424.nasl
# (OID 1.3.6.1.4.1.25623.1.0.105078, GPL-2.0-only). Deviations: the NASL needs a prior
# product detection on the admin_console port; this feed probes every http/https
# service directly. The NASL also accepts "x-download" / gwcheck.opt anywhere in the
# raw reply; here the attachment name must be in Content-Disposition, which closes a
# false positive on pages that merely contain those words.
uid: 4b55a197-ded1-456e-b9bd-b7319b4b466d
name: "Novell GroupWise 2014 < SP1 admin console FileUploadServlet unauthenticated file access (CVE-2014-0600)"
description: |
Tests the Novell GroupWise 2014 Administration console for the unauthenticated
FileUploadServlet flaw fixed in GroupWise 2014 SP1 (CVE-2014-0600), which lets
anyone read, write or delete arbitrary files on the server through the
poLibMaintenanceFileSave parameter. The test sends one multipart POST to
/gwadmin-console/gwAdminConsole/fileUpload whose only field is
poLibMaintenanceFileSave with a random value, without logging in. It reports the
host when the servlet answers this anonymous request with its GWCheck options
download (a Content-Disposition attachment named gwcheck.opt) instead of sending
the client to the console login page. No file path is sent and no file on the
server is read or deleted.
cves: [CVE-2014-0600]
cvss: 7.8
severity: high
confidence_base: 0.30
category: file-read
tags: [novell, groupwise, admin-console, file-read, file-access, unauthenticated, web-abuse]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2014-0600"
- "https://www.zerodayinitiative.com/advisories/ZDI-14-296/"
- "https://www.novell.com/support/kb/doc.php?id=7015566"
- "https://www.securityfocus.com/bid/69424"
steps:
- id: mint
action: script
code: '"NOCTIS_" + rand_hex(12) + "_NOCTIS"'
store_as: mark
- id: init-up
action: set_var
var_name: up
var_value: {status: 0, body: null, headers: {}}
- id: upload
action: http_request
method: POST
path: "/gwadmin-console/gwAdminConsole/fileUpload"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
headers:
Accept: "*/*"
Content-Type: "multipart/form-data; boundary=----------------------noctisGW20140600"
body: "------------------------noctisGW20140600\r\nContent-Disposition: form-data; name=\"poLibMaintenanceFileSave\"\r\n\r\n{{mark}}\r\n------------------------noctisGW20140600--\r\n"
store_as: up
- id: verify
action: script
code: |
let h = up.headers;
let cd = if type_of(h) == "map" && "content-disposition" in h { h["content-disposition"] } else { "" };
let loc = if type_of(h) == "map" && "location" in h { h["location"] } else { "" };
let b = if type_of(up.body) == "string" { up.body } else { "" };
let ct = if type_of(h) == "map" && "content-type" in h { h["content-type"] } else { "" };
let ok = up.status >= 200 && up.status < 300
&& stridx(tolower(cd), "filename=\"gwcheck.opt\"") >= 0
&& stridx(loc, "login.jsp") < 0
&& stridx(b, "login.jsp") < 0;
#{ hit: ok, cd: cd, ct: ct }
store_as: v
- id: report
action: match
source: v.cd
pattern: "(?i)filename=\"gwcheck\\.opt\""
condition: "v.hit == true"
on_match:
finding:
title: "Novell GroupWise admin console FileUploadServlet reachable without authentication (CVE-2014-0600)"
confidence_delta: 0.55
qod: 75
evidence: "Anonymous multipart POST /gwadmin-console/gwAdminConsole/fileUpload (poLibMaintenanceFileSave={{mark}}) was answered by the servlet itself: HTTP {{up.status}}, Content-Type: {{v.ct}}, Content-Disposition: {{v.cd}} — no redirect to login.jsp"
remediation: "Upgrade Novell GroupWise 2014 to SP1 or later (KB 7015566), and restrict network access to the GroupWise Administration console (port 9710) to administrators."