Episodex Guestbook — 1 vulnerability check
noctis ships 1 vulnerability check for Episodex Guestbook, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Episodex Guestbook admin.asp Authentication Bypass
| CVE | CVE-2005-1685 |
|---|---|
| Severity | high · CVSS 7.5 |
| Category | auth-bypass — Auth bypass |
| Services | http, https |
| Detection | script, set_var, http_request, match · highest QoD 75 |
| Feed | tests/vulnerabilities/episodex-guestbook/CVE-2005-1685.yaml |
Tests whether the Episodex Guestbook configuration page, admin.asp, can be opened without logging in. In the web root and in the /guestbook, /gb, /gbook, /episodex, /scripts and /cgi-bin directories, the feed requests admin.asp without any session cookie and without following redirects. The finding is reported when the reply is a 200 page that carries both the "Save Configuration" settings form and the "powered by Sven Moderow's GuestBook" footer, and when a request for a random, non-existent .asp script in the same directory does not return that settings form, so a site that answers every path with the same page is not reported. The probe only reads the page and changes nothing.
How noctis detects it
- Parses / computes the next value with a Rhai script
- HTTP(S) request
GET {{dir}}/admin.asp - Parses / computes the next value with a Rhai script
- HTTP(S) request
GET {{dir}}/{{ctl_name}} - Parses / computes the next value with a Rhai script
- Checks
prooffor^Episodex Guestbook settings page served without authentication$→ finding QoD 75: Episodex Guestbook admin.asp Authentication Bypass (CVE-2005-1685)
References:
Feed source — tests/vulnerabilities/episodex-guestbook/CVE-2005-1685.yaml
# Episodex Guestbook admin.asp authentication bypass — CVE-2005-1685
#
# Episodex Guestbook (ASP guestbook, "powered by Sven Moderow's GuestBook")
# serves its configuration page, admin.asp, without asking for the
# administrator password: a direct request returns the settings form
# ("Save Configuration"), so anyone can change the guestbook settings
# (Bugtraq, 20 May 2005, "episodex guestbook security bypass & html
# injection"; BID 13693). No fixed release was ever published and the
# vendor site (episodex.de) and the source are gone; the two page markers
# are the ones the public checks rely on.
#
# Detection (read-only), per candidate install dir (web root, /guestbook,
# /gb, /gbook, /episodex, /scripts, /cgi-bin):
# 1. GET <dir>/admin.asp without cookies, redirects not followed: 200 with
# both "Save Configuration" and the "powered by Sven Moderow's GuestBook"
# footer (apostrophe raw or as an HTML entity).
# 2. Control: GET <dir>/noctis<random>.asp must NOT carry the settings form
# (a front end that serves that page for any path is not reported).
# QoD 75 (response analysis: the settings form served without authentication).
#
# CVE-2005-1684 (stored XSS through the Name and other fields of
# default.asp, same advisory) is not tested: proving it means posting a
# guestbook entry, which publishes content on the target.
#
# Improvements over the source NASL (both markers + any reply status):
# - Status 200 required and redirects not followed.
# - Catch-all control on a random sibling script.
# - Footer apostrophe accepted as an HTML entity too.
#
# CVSS: NVD v2 7.5 (no v3 score published).
#
# Ported from OpenVAS/Greenbone NVT pre2008/episodex_guestbook.nasl
# (OID 1.3.6.1.4.1.25623.1.0.18362, GPL-2.0-only).
uid: 194a7cc5-b335-49af-8508-7af652598cd3
name: "Episodex Guestbook admin.asp Authentication Bypass (CVE-2005-1685)"
description: |
Tests whether the Episodex Guestbook configuration page, admin.asp, can be
opened without logging in. In the web root and in the /guestbook, /gb,
/gbook, /episodex, /scripts and /cgi-bin directories, the feed requests
admin.asp without any session cookie and without following redirects. The
finding is reported when the reply is a 200 page that carries both the
"Save Configuration" settings form and the "powered by Sven Moderow's
GuestBook" footer, and when a request for a random, non-existent .asp
script in the same directory does not return that settings form, so a
site that answers every path with the same page is not reported. The probe
only reads the page and changes nothing.
cves: [CVE-2005-1685]
cvss: 7.5
severity: high
category: auth-bypass
confidence_base: 0.30
tags: [episodex, guestbook, asp, auth-bypass, admin-panel]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2005-1685"
- "https://lists.openwall.net/bugtraq/2005/05/20/12"
# OpenVAS/Greenbone NASL pre2008/episodex_guestbook.nasl (GPL-2.0-only)
steps:
- id: mint
action: script
code: '"noctis" + rand_hex(6) + ".asp"'
store_as: ctl_name
# ── Loop group: every step below runs once per candidate install dir ─────
- id: init-adm
action: set_var
var_name: adm
var_value: {status: 0, body: ""}
loop:
over: ["", "/guestbook", "/gb", "/gbook", "/episodex", "/scripts", "/cgi-bin"]
var: dir
- id: init-ctl
action: set_var
var_name: ctl
var_value: {status: 0, body: ""}
- id: fetch-admin
action: http_request
method: GET
path: "{{dir}}/admin.asp"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 15
store_as: adm
# The settings page itself: 200, the "Save Configuration" form and the
# product footer.
- id: panel
action: script
store_as: is_panel
code: |
adm.status == 200 && type_of(adm.body) == "string"
&& egrep("(?i)Save\\s+Configuration", adm.body) != ""
&& egrep("(?i)powered\\s+by\\s+Sven\\s+Moderow(?:'|�?39;|'|’|’|’)s\\s+Guest\\s*Book", adm.body) != ""
- id: fetch-control
action: http_request
method: GET
path: "{{dir}}/{{ctl_name}}"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 15
condition: 'is_panel == true'
store_as: ctl
- id: verdict
action: script
store_as: proof
code: |
let ctl_hit = ctl.status == 200 && type_of(ctl.body) == "string"
&& egrep("(?i)Save\\s+Configuration", ctl.body) != "";
if is_panel == true && !ctl_hit { "Episodex Guestbook settings page served without authentication" } else { "" }
- id: report
action: match
source: proof
pattern: "^Episodex Guestbook settings page served without authentication$"
on_match:
finding:
title: "Episodex Guestbook admin.asp Authentication Bypass (CVE-2005-1685)"
description: "The Episodex Guestbook configuration page (admin.asp) is served to a request that carries no administrator session: the \"Save Configuration\" settings form came back without a login. Anyone who can reach the site can change the guestbook settings."
remediation: "No fixed Episodex Guestbook release is known. Restrict access to admin.asp (for example with HTTP authentication or an IP allow-list in IIS), or remove the guestbook."
confidence_delta: 0.50
qod: 75
evidence: "GET {{dir}}/admin.asp without a session returned HTTP 200 with the Save Configuration settings form and the Sven Moderow's GuestBook footer; the control request {{dir}}/{{ctl_name}} did not return that form."
stop: true