Toolbox for Asgaros Forum <= 1.2.4 - Authenticated (Subscriber+) Path Traversal to Arbitrary File Move/Deletion via Forum Post Inline Image Paths

High 8.1 CWE-22Fixed in 1.2.5
ID
WPSEC-2026-3600
Plugin
Toolbox for Asgaros Forum (toolbox-for-asgaros-forum)
Affected
from 1.1.0 before 1.2.5
Remediation
Update to 1.2.5 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Weakness
CWE-22
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-20
Attack surface
Toolbox for Asgaros Forum on WPSec AttackSurface
Fix released
Published

Description

The Toolbox for Asgaros Forum plugin for WordPress is vulnerable to Path Traversal via the inline image paths in forum post content in all versions from 1.1.0 up to, and including, 1.2.4. This is due to insufficient validation of the temporary image filenames in the replace_temp_pics() function. The function moves these files from the plugin's temporary upload directory to its final upload directory when a forum post is saved, but its strpos() check does not reject a filename that begins with a slash followed by '../' sequences. This makes it possible for authenticated attackers who can post in the forum, with subscriber-level access and above, to move arbitrary files on the server, such as wp-config.php, into the uploads directory. This removes the files from their original location and can lead to a site takeover.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0