CVE-2024-0221
Photo Gallery by 10Web – Mobile-Friendly Image Gallery に報告された脆弱性
概要
The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 1.8.19 via the rename_item function. This makes it possible for authenticated attackers to rename arbitrary files on the server. This can lead to site takeovers if the wp-config.php file of a site can be renamed. By default this can be exploited by administrators only. In the premium version of the plugin, administrators can give gallery management permissions to lower level users, which might make this exploitable by users as low as contributors.
影響を受けるバージョン
- 1.8.20 未満
対処方法
Photo Gallery by 10Web – Mobile-Friendly Image Gallery を 1.8.20 以降に更新してください。これで本脆弱性は解消します。
Photo Gallery by 10Web – Mobile-Friendly Image Gallery の他の脆弱性を見る →
あなたのサイトは大丈夫ですか?
URLを入力するだけで、実際に使われているプラグインを検出し、 このデータベースと突き合わせて既知の脆弱性が残っていないかを確認できます。登録不要・無料です。
30秒で無料診断する参照
- https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L291
- https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L441
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3022981%40photo-gallery%2Ftrunk&old=3013021%40photo-gallery%2Ftrunk&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/3a3b8f32-f29d-4e67-8fad-202bfc8a9918?source=cve
- https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L291
- https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L441
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3022981%40photo-gallery%2Ftrunk&old=3013021%40photo-gallery%2Ftrunk&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/3a3b8f32-f29d-4e67-8fad-202bfc8a9918?source=cve