Skip to content

CVE-2025-24019 YesWiki vulnerable to authenticated arbitrary file deletion

HighCVSS 7.1 EPSS 0.89%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
PHP

Description

YesWiki is a wiki system written in PHP. In versions up to and including 4.4.5, it is possible for any authenticated user, through the use of the filemanager to delete any file owned by the user running the FastCGI Process Manager (FPM) on the host without any limitation on the filesystem's scope. This vulnerability allows any authenticated user to arbitrarily remove content from the Wiki resulting in partial loss of data and defacement/deterioration of the website. In the context of a container installation of YesWiki without any modification, the yeswiki files (for example .php) are not owned by the same user (root) as the one running the FPM process (www-data). However in a standard installation, www-data may also be the owner of the PHP files, allowing a malicious user to completely cut the access to the wiki by deleting all important PHP files (like index.php or core files of YesWiki). Version 4.5.0 contains a patch for this issue.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
yeswiki < 4.5.0; = < 4.5.0 4.5.0 Fixed
yeswiki(Packagist) < 4.5.0; <= 4.4.5; = 4.2.3; = v4.1.0 +17 more 4.5.0 Fixed

Affected products

ProductAffected versionsFixed in
yeswiki(Packagist) < 4.5.0 4.5.0
yeswiki(Packagist) = 4.2.3 No fix listed
yeswiki(Packagist) = v4.1.0 No fix listed
yeswiki(Packagist) = v4.1.1 No fix listed
yeswiki(Packagist) = v4.1.2 No fix listed
yeswiki(Packagist) = v4.1.3 No fix listed
yeswiki(Packagist) = v4.1.4 No fix listed
yeswiki(Packagist) = v4.1.5 No fix listed
yeswiki(Packagist) = v4.2.0 No fix listed
yeswiki(Packagist) = v4.2.1 No fix listed
yeswiki(Packagist) = v4.2.2 No fix listed
yeswiki(Packagist) = v4.2.4 No fix listed
yeswiki(Packagist) = v4.3 No fix listed
yeswiki(Packagist) = v4.3.1 No fix listed
yeswiki(Packagist) = v4.4.0 No fix listed
yeswiki(Packagist) = v4.4.1 No fix listed
yeswiki(Packagist) = v4.4.2 No fix listed
yeswiki(Packagist) = v4.4.3 No fix listed
yeswiki(Packagist) = v4.4.4 No fix listed
yeswiki(Packagist) = v4.4.5 No fix listed
yeswiki(Packagist) <= 4.4.5 No fix listed
yeswiki = < 4.5.0 No fix listed
yeswiki < 4.5.0 4.5.0

References