
[漏洞复现] 全球首款单文件利用 CVE-2023-4357 Chrome XXE 漏洞 EXP, 实现对访客者本地文件窃取. Chrome XXE vulnerability EXP, allowing attackers to obtain local files of visitors.
| File Name | Description | Exploit Scenario | Why can a single file / single payload achieve exploitation? |
|---|---|---|---|
| d.svg | Single file exploitation, no dependency on other files | 1. When XSS is possible, embed the svg link in an iframe. 2. When a button is clicked, open the svg image in a new window. | Self-contained. The first entity declaration referencing an external entity is blocked, so we thought of self-including the file as an external XML document, then making a second entity declaration referencing the external entity, requiring the two reference formats to be compatible without errors, thereby bypassing the block and reading local files. |
| xss.html | Single payload exploitation, no dependency on other files | When XSS is possible and you don't want to upload an svg file on any website, copy the content of xss.html as the payload. | object element, data:image/svg+xml;base64, data:text/xsl;base64 |
TPCTF 2023 Information Security Competition (jointly organized by TP-Link, Tsinghua University, and Peking University).Xssbot and Xssbot but not Internet//You can send p.innerHTML by POST.: cn-sec, xmcve, jbnrz| Information | Content |
|---|---|
| Vulnerability Name | Chromium XXE |
| CVE ID | CVE-2023-4357 |
| Risk Level | High |
| Vulnerability Type |
| Visitor Environment | Screenshot |
|---|---|
| Linux + Chromium | ![]() |
| Windows + Chromium | ![]() |
Linux + Chromium
wget https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/114.0.5735.90/linux64/chrome-linux64.zip
unzip chrome-linux64.zip
./chrome-linux64/chrome --no-sandbox
wget https://codeload.github.com/xcanwin/CVE-2023-4357-Chrome-XXE/zip/refs/heads/main -O CVE-2023-4357-Chrome-XXE.zip
unzip CVE-2023-4357-Chrome-XXE.zip
python3 -m http.server 8888 -d CVE-2023-4357-Chrome-XXE-main
http://127.0.0.1:8888/d.svg
Windows + Chromium
https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/114.0.5735.90/win64/chrome-win64.zip
./chrome-win64/chrome --no-sandbox
https://codeload.github.com/xcanwin/CVE-2023-4357-Chrome-XXE/zip/refs/heads/main
python3 -m http.server 8888 -d CVE-2023-4357-Chrome-XXE-main
http://127.0.0.1:8888/d.svg
MacOS + WeChat for Mac
Download and run WeChat for Mac
Start Web service
wget https://codeload.github.com/xcanwin/CVE-2023-4357-Chrome-XXE/zip/refs/heads/main -O CVE-2023-4357-Chrome-XXE.zip
unzip CVE-2023-4357-Chrome-XXE.zip
python3 -m http.server 8888 -d CVE-2023-4357-Chrome-XXE-main
http://127.0.0.1:8888/d.svg
| XXE |
| Exploit Difficulty | Low |
| MacOS + WeChat for Mac |
![]() |