{"api_version":"1","generated_at":"2026-04-11T04:55:13+00:00","cve":"CVE-2024-5481","urls":{"html":"https://cve.report/CVE-2024-5481","api":"https://cve.report/api/cve/CVE-2024-5481.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-5481","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-5481"},"summary":{"title":"Photo Gallery by 10Web – Mobile-Friendly Image Gallery <= 1.8.23 - Authenticated (Contributor+) Path Traversal via esc_dir Function","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.","state":"PUBLISHED","assigner":"Wordfence","published_at":"2024-06-07 10:15:11","updated_at":"2026-04-08 18:22:04"},"problem_types":["CWE-35","CWE-22","CWE-35 CWE-35 Path Traversal: '.../...//'"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"security@wordfence.com","type":"Secondary","score":"6.8","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":6.8,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"6.8","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H","data":{"baseScore":6.8,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H","version":"3.1"}}],"references":[{"url":"https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L178","name":"https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L178","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L512","name":"https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L512","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/76c38826-4d49-4204-b6b6-b01d01373fa9?source=cve","name":"https://www.wordfence.com/threat-intel/vulnerabilities/id/76c38826-4d49-4204-b6b6-b01d01373fa9?source=cve","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://wordpress.org/plugins/photo-gallery/#developers","name":"https://wordpress.org/plugins/photo-gallery/#developers","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product","Release Notes"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L436","name":"https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L436","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://plugins.trac.wordpress.org/changeset/3098798/","name":"https://plugins.trac.wordpress.org/changeset/3098798/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-5481","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5481","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"10web","product":"Photo Gallery by 10Web – Mobile-Friendly Image Gallery","version":"affected 1.8.23 semver","platforms":[]}],"timeline":[{"source":"CNA","time":"2024-06-06T21:19:21.000Z","lang":"en","value":"Disclosed"}],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Tobias Weißhaar","lang":"en"}],"nvd_cpes":[{"cve_year":"2024","cve_id":"5481","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"10web","cpe5":"photo_gallery","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"wordpress","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2024-5481","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2024-07-16T18:35:17.646938Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2024-07-16T18:36:39.514Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"},{"providerMetadata":{"dateUpdated":"2024-08-01T21:11:12.793Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_transferred"],"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/76c38826-4d49-4204-b6b6-b01d01373fa9?source=cve"},{"tags":["x_transferred"],"url":"https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L178"},{"tags":["x_transferred"],"url":"https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L512"},{"tags":["x_transferred"],"url":"https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L436"},{"tags":["x_transferred"],"url":"https://plugins.trac.wordpress.org/changeset/3098798/"},{"tags":["x_transferred"],"url":"https://wordpress.org/plugins/photo-gallery/#developers"}],"title":"CVE Program Container"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Photo Gallery by 10Web – Mobile-Friendly Image Gallery","vendor":"10web","versions":[{"lessThanOrEqual":"1.8.23","status":"affected","version":"0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"Tobias Weißhaar"}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"baseScore":6.8,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-35","description":"CWE-35 Path Traversal: '.../...//'","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-04-08T17:01:35.978Z","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","shortName":"Wordfence"},"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/76c38826-4d49-4204-b6b6-b01d01373fa9?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L178"},{"url":"https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L512"},{"url":"https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L436"},{"url":"https://plugins.trac.wordpress.org/changeset/3098798/"},{"url":"https://wordpress.org/plugins/photo-gallery/#developers"}],"timeline":[{"lang":"en","time":"2024-06-06T21:19:21.000Z","value":"Disclosed"}],"title":"Photo Gallery by 10Web – Mobile-Friendly Image Gallery <= 1.8.23 - Authenticated (Contributor+) Path Traversal via esc_dir Function"}},"cveMetadata":{"assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","assignerShortName":"Wordfence","cveId":"CVE-2024-5481","datePublished":"2024-06-07T09:33:36.357Z","dateReserved":"2024-05-29T18:04:13.803Z","dateUpdated":"2026-04-08T17:01:35.978Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2024-06-07 10:15:11","lastModifiedDate":"2026-04-08 18:22:04","problem_types":["CWE-35","CWE-22","CWE-35 CWE-35 Path Traversal: '.../...//'"],"metrics":{"cvssMetricV31":[{"source":"security@wordfence.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":6.8,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.6,"impactScore":5.2},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:10web:photo_gallery:*:*:*:*:*:wordpress:*:*","versionEndExcluding":"1.8.24","matchCriteriaId":"974320E7-18AE-4738-BE29-52AF8BDA52EE"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2024","CveId":"5481","Ordinal":"1","Title":"Photo Gallery by 10Web – Mobile-Friendly Image Gallery <= 1.8.23","CVE":"CVE-2024-5481","Year":"2024"},"notes":[{"CveYear":"2024","CveId":"5481","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Photo Gallery by 10Web – Mobile-Friendly Image Gallery <= 1.8.23"}]}}}