| Reporter | Title | Published | Views | Family All 12 |
|---|---|---|---|---|
| Zenitel AlphaCom XE Audio Server 11.2.3.10 Shell Upload Vulnerability | 15 Sep 202100:00 | – | zdt | |
| AlphaWeb XE - File Upload Remote Code Execution (Authenticated) Exploit | 15 Sep 202100:00 | – | zdt | |
| CVE-2021-40845 | 12 Sep 202113:30 | – | circl | |
| Zenitel AlphaCom XE Audio Server 代码问题漏洞 | 14 Sep 202100:00 | – | cnnvd | |
| CVE-2021-40845 | 15 Sep 202112:39 | – | cve | |
| CVE-2021-40845 | 15 Sep 202112:39 | – | cvelist | |
| AlphaWeb XE - File Upload Remote Code Execution (RCE) (Authenticated) | 15 Sep 202100:00 | – | exploitdb | |
| Exploit for Unrestricted Upload of File with Dangerous Type in Zenitel Alphacom_Xe_Audio_Server | 10 Sep 202110:23 | – | githubexploit | |
| CVE-2021-40845 | 15 Sep 202113:15 | – | nvd | |
| CVE-2021-40845 | 15 Sep 202113:15 | – | osv |
`
I. VULNERABILITY
-------------------------
AlphaWeb XE - Authenticated Insecure File Upload leading to RCE
II. CVE REFERENCE
-------------------------
CVE-2021-40845
III. VENDOR
-------------------------
https://www.zenitel.com/
IV. DESCRIPTION
-------------------------
The web part of Zenitel AlphaCom XE Audio Server through 11.2.3.10, called AlphaWeb XE, does not restrict file upload in the Custom Scripts section at php/index.php. Neither the content nor extension of the uploaded files is checked, allowing execution of PHP code under the /cmd directory.
To exploit this vulnerability, someone must authenticate in the server and access the "Scripts" button in the "Custom scripts" tab.

Then, the button "Choose file" is clicked and the file is uploaded clicking "Upload".

The PHP test file is a simple one-line reverse shell:

The new file, with the same name, extension and content is listed in the Scripts page:

The path of these files is /cmd/$FILE$. Knowing the path, as there is not any restriction the file upload functionality, uploading a PHP reverse shell or cmdshell allows to get Remote Code Execution in the server:

V. REFERENCES
-------------------------
https://wiki.zenitel.com/wiki/AlphaWeb
https://wiki.zenitel.com/wiki/AlphaWeb_Custom_Scripts
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40845
VI. CREDIT
-------------------------
Ricardo José Ruiz Fernández (@ricardojoserf)
`
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