8.8
HIGH
CVE-2024-5481
10Web Photo Gallery by 10Web Path Traversal Vulnerability
Description

The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 1.8.23 via the esc_dir function. This makes it possible for authenticated attackers to cut and paste (copy) the contents of arbitrary files on the server, which can contain sensitive information, and to cut (delete) arbitrary directories, including the root WordPress directory. By default this can be exploited by administrators only. In the premium version of the plugin, administrators can give gallery edit permissions to lower level users, which might make this exploitable by users as low as contributors.

INFO

Published Date :

June 7, 2024, 10:15 a.m.

Last Modified :

Nov. 21, 2024, 9:47 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2024-5481 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 10web photo_gallery

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-5481 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-5481 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L178
    Added Reference https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L436
    Added Reference https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L512
    Added Reference https://plugins.trac.wordpress.org/changeset/3098798/
    Added Reference https://wordpress.org/plugins/photo-gallery/#developers
    Added Reference https://www.wordfence.com/threat-intel/vulnerabilities/id/76c38826-4d49-4204-b6b6-b01d01373fa9?source=cve
  • Initial Analysis by [email protected]

    Jun. 11, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L178 No Types Assigned https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L178 Product
    Changed Reference Type https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L436 No Types Assigned https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L436 Product
    Changed Reference Type https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L512 No Types Assigned https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L512 Product
    Changed Reference Type https://plugins.trac.wordpress.org/changeset/3098798/ No Types Assigned https://plugins.trac.wordpress.org/changeset/3098798/ Patch
    Changed Reference Type https://wordpress.org/plugins/photo-gallery/#developers No Types Assigned https://wordpress.org/plugins/photo-gallery/#developers Product, Release Notes
    Changed Reference Type https://www.wordfence.com/threat-intel/vulnerabilities/id/76c38826-4d49-4204-b6b6-b01d01373fa9?source=cve No Types Assigned https://www.wordfence.com/threat-intel/vulnerabilities/id/76c38826-4d49-4204-b6b6-b01d01373fa9?source=cve Third Party Advisory
    Added CWE NIST CWE-22
    Added CPE Configuration OR *cpe:2.3:a:10web:photo_gallery:*:*:*:*:*:wordpress:*:* versions up to (excluding) 1.8.24
  • CVE Received by [email protected]

    Jun. 07, 2024

    Action Type Old Value New Value
    Added Description The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 1.8.23 via the esc_dir function. This makes it possible for authenticated attackers to cut and paste (copy) the contents of arbitrary files on the server, which can contain sensitive information, and to cut (delete) arbitrary directories, including the root WordPress directory. By default this can be exploited by administrators only. In the premium version of the plugin, administrators can give gallery edit permissions to lower level users, which might make this exploitable by users as low as contributors.
    Added Reference Wordfence https://www.wordfence.com/threat-intel/vulnerabilities/id/76c38826-4d49-4204-b6b6-b01d01373fa9?source=cve [No types assigned]
    Added Reference Wordfence https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L178 [No types assigned]
    Added Reference Wordfence https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L512 [No types assigned]
    Added Reference Wordfence https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L436 [No types assigned]
    Added Reference Wordfence https://plugins.trac.wordpress.org/changeset/3098798/ [No types assigned]
    Added Reference Wordfence https://wordpress.org/plugins/photo-gallery/#developers [No types assigned]
    Added CVSS V3.1 Wordfence AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-5481 is associated with the following CWEs:

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability