Detect TastyIgniter Media Upload Path Traversal (CVE-2026-69181) in Google Chronicle
Detects exploitation of CVE-2026-69181, a path traversal vulnerability (CWE-23) in the TastyIgniter media manager upload functionality affecting tastyigniter/tastyigniter prior to v4.3.1. An authenticated admin-area attacker can supply a crafted filename or path parameter containing traversal sequences (e.g. ../, ..%2f, encoded variants) to the media upload/move endpoints, causing files to be written outside the intended media storage directory. This can lead to arbitrary file write, web-shell deployment, and remote code execution. Detection focuses on HTTP requests to TastyIgniter media manager endpoints carrying traversal sequences, and on file-write telemetry showing uploads landing outside the configured media/assets path.
MITRE ATT&CK
- Tactic
- Initial Access Execution
YARA-L Detection Query
// df00tech DF00-263868f9ec · https://df00tech.com/detections/CVE-2026-69181 · licence: https://df00tech.com/detections/licence
rule tastyigniter_media_path_traversal_cve_2026_69181 {
meta:
author = "Argus"
description = "TastyIgniter media manager path traversal (CVE-2026-69181)"
severity = "HIGH"
events:
$e.metadata.event_type = "NETWORK_HTTP"
$e.network.http.method = /POST|PUT/
re.regex($e.target.url, `(?i)(media_manager|admin/media)`)
re.regex($e.target.url, `(?i)(\.\./|\.\.\\|\.\.%2f|\.\.%5c|\.\.%252f)`)
condition:
$e
} Chronicle YARA-L 2.0 rule matching TastyIgniter media manager POST/PUT HTTP events with traversal patterns for CVE-2026-69181.
Data Sources
Required Tables
False Positives & Tuning
- Authorized scanning
- Legitimate encoded filenames
- Proxy URL normalization
Other platforms for CVE-2026-69181
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.
- Test 1 Encoded traversal in media upload query
Expected signal: Web access log entry: POST /admin/media_manager/upload with query containing ..%2f and a 2xx or 4xx status.
- Test 2 Raw dot-dot-slash in move parameter
Expected signal: Web access log entry: POST /admin/media_manager/move with body/query containing ../ sequences.
- Test 3 Double-encoded traversal probe
Expected signal: IIS log entry: POST to media_manager endpoint with ..%252f in the query string.
Response Playbook
Triage
- Confirm the TastyIgniter version running on the host; versions below 4.3.1 are vulnerable to CVE-2026-69181. Check composer.lock for tastyigniter/core.
- Review the flagged request(s): decode the URI/query and determine whether the traversal sequence resolves outside the configured media storage directory (storage/app/public or configured media path).
- Identify the authenticated admin account that issued the request (media manager requires admin access) and verify whether the session/account is legitimate or compromised.
- Inspect the HTTP response status; a 2xx on an upload/move request combined with traversal strongly suggests a successful write outside the media root.
Containment
- Block the source IP(s) at the WAF/proxy and invalidate the implicated admin session tokens.
- Apply a WAF rule rejecting requests to media_manager/media endpoints containing '../', '..\\' or their encoded forms until the host is patched.
- Upgrade tastyigniter/core to v4.3.1 or later, which fixes the traversal (commit c6f99d7).
Evidence Collection
- Preserve web server access logs (IIS/Nginx/Apache) and the application storage directory tree showing file modification timestamps.
- Collect any newly created/modified files outside the media root (especially .php, .phtml, .phar) and hash them for IOC sharing.
Escalation Criteria
- !Escalate to incident response if an upload/move with a traversal payload returned a success status and a file was written outside the media directory.
- !Escalate if any web-accessible script file (e.g. .php) appears in a non-upload directory or if subsequent requests access a newly written file, indicating web-shell execution.
Investigation Guide
Forensic Artifacts
- >
Web server access logs showing POST/PUT to media_manager endpoints with traversal payloads - >
Files created/modified outside the TastyIgniter media/storage directory with recent timestamps - >
PHP-FPM / application logs referencing out-of-root file paths
Tuning Guidance
If authorized vulnerability scanners regularly probe the admin panel, allowlist their source IPs. Narrow uri_path matches to the exact media_manager routes used by your TastyIgniter deployment to cut benign double-dot filename noise, and prioritize alerts where the request returned a 2xx status.
Hunting Queries
Aggregates media manager upload/move requests containing decoded traversal sequences by source IP to spot repeated exploitation attempts.
// df00tech DF00-263868f9ec · https://df00tech.com/detections/CVE-2026-69181 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csUriStem has "media_manager" and csMethod in ("POST","PUT") | extend dq=url_decode(csUriQuery) | where dq contains ".." | summarize count() by cIP, bin(TimeGenerated, 1h) ``` df00tech DF00-263868f9ec · https://df00tech.com/detections/CVE-2026-69181 · licence: https://df00tech.com/detections/licence ```
index=web uri_path=*media_manager* (method=POST OR method=PUT) | eval dq=urldecode(uri_query) | search dq="*..*" | stats count by src_ip, uri_path Atomic Red Team Tests
Sends an authenticated POST to the TastyIgniter media manager upload endpoint with an encoded traversal path in the destination parameter.
Command
curl -s -X POST 'http://tastyigniter.lab/admin/media_manager/upload?path=..%2f..%2f..%2fpublic%2fshell.php' -H 'Cookie: ti_session=LABSESSION' -F 'file=@/tmp/shell.php' Cleanup
rm -f /var/www/tastyigniter/public/shell.php Expected Telemetry
Web access log entry: POST /admin/media_manager/upload with query containing ..%2f and a 2xx or 4xx status.
Expected Detection
KQL/SPL rules match on media_manager endpoint + encoded traversal sequence.
Attempts to move an existing media file to a location outside the media root using a raw traversal destination.
Command
curl -s -X POST 'http://tastyigniter.lab/admin/media_manager/move' -H 'Cookie: ti_session=LABSESSION' --data 'src=logo.png&dest=../../../../public/evil.php' Cleanup
rm -f /var/www/tastyigniter/public/evil.php Expected Telemetry
Web access log entry: POST /admin/media_manager/move with body/query containing ../ sequences.
Expected Detection
Detection fires on raw '../' traversal to the media manager move endpoint.
Issues a request using double URL-encoded traversal (..%252f) to test filter bypass against the media endpoint.
Command
powershell -Command "Invoke-WebRequest -Uri 'http://tastyigniter.lab/admin/media_manager/upload?path=..%252f..%252fwwwroot%252fshell.php' -Method POST -Headers @{Cookie='ti_session=LABSESSION'} -InFile C:\temp\shell.php" Cleanup
Remove-Item C:\inetpub\wwwroot\shell.php -ErrorAction SilentlyContinue Expected Telemetry
IIS log entry: POST to media_manager endpoint with ..%252f in the query string.
Expected Detection
Rules match the double-encoded ..%252f pattern on media manager requests.