{"id":"CVE-2025-24019","published":"2025-01-21T17:36:10Z","modified":"2025-02-12T20:41:22Z","title":"YesWiki vulnerable to authenticated arbitrary file deletion","vendor":"YesWiki","product":"yeswiki","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00614,"percentile":0.50366,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/YesWiki/yeswiki/security/advisories/GHSA-43c9-gw4x-pcx6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/YesWiki/yeswiki/commit/3ddd833d22703caf9025659eb174f7765df7147c","tags":["x_refsource_MISC"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":10.07},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"yeswiki","affectedVersions":[{"vendor":"YesWiki","product":"yeswiki","versions":["< 4.5.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-01-21T18:57:51.401654Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"yeswiki/yeswiki","vulnerableRanges":["<4.5.0"],"patched":["4.5.0"],"from":["GHSA-43c9-gw4x-pcx6"],"provenance":"source"}],"summary":{"text":"YesWiki, a PHP wiki system, contains a path traversal flaw in its filemanager component in versions up to and including 4.4.5, which fails to restrict file deletion to a limited directory scope. An attacker with network access and any authenticated user account, requiring no user interaction, can delete any file owned by the user running the FastCGI Process Manager, which can remove wiki content or, in a standard installation where that user owns the PHP files, cut off access to the wiki by deleting core files.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:27Z"},"euvd":{"id":"EUVD-2025-0129","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-yeswiki-cve-2025-24019","children":[{"from":"CVE-2025-24019","to":"CVE-2025-46349","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tools/attach/libs/attach.lib.php"],"commits":["https://github.com/YesWiki/yeswiki/commit/3ddd833d22703caf9025659eb174f7765df7147c","https://github.com/YesWiki/yeswiki/commit/6edde40eb7eeb5d60619ac4d1e0a0422d92e9524","https://github.com/YesWiki/yeswiki/commit/0dac9e2fb2a5e69f13a3c9f761ecae6ed9676206"],"basis":"shared function","functions":["performUpload","searchFiles"]}]}],"packageHistory":[{"cve":"CVE-2024-51478","published":"2024-10-31","fixed":"4.4.5","kev":false,"link":{"from":"CVE-2024-51478","to":"CVE-2025-24019","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:yeswiki/yeswiki","fromFixed":"4.4.5","toFixed":"4.5.0","daysApart":82}]}},{"cve":"CVE-2025-24017","published":"2025-01-21","fixed":"4.5.0","kev":false},{"cve":"CVE-2025-24018","published":"2025-01-21","fixed":"4.5.0","kev":false},{"cve":"CVE-2025-24019","published":"2025-01-21","fixed":"4.5.0","kev":false},{"cve":"CVE-2025-31131","published":"2025-04-01","fixed":"4.5.2","kev":false},{"cve":"CVE-2025-46346","published":"2025-04-29","fixed":"4.5.4","kev":false},{"cve":"CVE-2025-46347","published":"2025-04-29","fixed":"4.5.4","kev":false}],"package":"Packagist:yeswiki/yeswiki"}}