{"uuid": "f619de19-ace7-43bb-b68b-3bf62f8390c6", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2021-45046", "type": "published-proof-of-concept", "source": "https://t.me/hacking_Attack/42912", "content": "Kali Linux Tutorials\nlog4j-Scan : A Fully Automated, Accurate &amp; Extensive Scanner For Finding Vulnerable log4j Hosts\n\nlog4j-scan is a fully automated, accurate, and extensive scanner for finding vulnerable log4j hosts.\n\nFeatures\n\n* Support for lists of URLs.\n* Fuzzing for more than 60 HTTP request headers (not only 3-4 headers as previously seen tools).\n* Fuzzing for HTTP POST Data parameters.\n* Fuzzing for JSON data parameters.\n* Supports DNS callback for vulnerability discovery and validation.\n* WAF Bypass payloads.\n\nAnnouncement\n\nThere is a patch bypass on Log4J v2.15.0 that allows a full RCE. FullHunt added community support for log4j-scan to reliably detect CVE-2021-45046. If you\u2019re having difficulty discovering and scanning your infrastructure at scale or keeping up with the Log4J threat, please get in touch at (team@fullhunt.io).\n\nDescription\n\nWe have been researching the Log4J RCE (CVE-2021-44228) since it was released, and we worked in preventing this vulnerability with our customers. We are open-sourcing an open detection and scanning tool for discovering and fuzzing for Log4J RCE CVE-2021-44228 vulnerability. This shall be used by security teams to scan their infrastructure for Log4J RCE, and also test for WAF bypasses that can result in achieving code execution on the organization\u2019s environment.\n\nIt supports DNS OOB callbacks out of the box, there is no need to set up a DNS callback server.\n\nUsage\n\n$ python3 log4j-scan.py -h\n[\u2022] CVE-2021-44228 \u2013 Apache Log4j RCE Scanner\n[\u2022] Scanner provided by FullHunt.io \u2013 The Next-Gen Attack Surface Management Platform.\n[\u2022] Secure your External Attack Surface with FullHunt.io.\nusage: log4j-scan.py [-h] [-u URL] [-p PROXY] [-l USEDLIST] [\u2013request-type REQUEST_TYPE] [\u2013headers-file HEADERS_FILE] [\u2013run-all-tests] [\u2013exclude-user-agent-fuzzing]\n[\u2013wait-time WAIT_TIME] [\u2013waf-bypass] [\u2013custom-waf-bypass-payload CUSTOM_WAF_BYPASS_PAYLOAD] [\u2013test-CVE-2021-45046]\n[\u2013dns-callback-provider DNS_CALLBACK_PROVIDER] [\u2013custom-dns-callback-host CUSTOM_DNS_CALLBACK_HOST] [\u2013disable-http-redirects]\noptional arguments:\n-h, \u2013help show this help message and exit\n-u URL, \u2013url URL Check a single URL.\n-p PROXY, \u2013proxy PROXY\nsend requests through proxy\n-l USEDLIST, \u2013list USEDLIST\nCheck a list of URLs.\n\u2013request-type REQUEST_TYPE\nRequest Type: (get, post) \u2013 [Default: get].\n\u2013headers-file HEADERS_FILE\nHeaders fuzzing list \u2013 [default: headers.txt].\n\u2013run-all-tests Run all available tests on each URL.\n\u2013exclude-user-agent-fuzzing\nExclude User-Agent header from fuzzing \u2013 useful to bypass weak checks on User-Agents.\n\u2013wait-time WAIT_TIME\nWait time after all URLs are processed (in seconds) \u2013 [Default: 5].\n\u2013waf-bypass Extend scans with WAF bypass payloads.\n\u2013custom-waf-bypass-payload CUSTOM_WAF_BYPASS_PAYLOAD\nTest with custom WAF bypass payload.\n\u2013test-CVE-2021-45046\nTest using payloads for CVE-2021-45046 (detection payloads).\n\u2013dns-callback-provider DNS_CALLBACK_PROVIDER\nDNS Callback provider (Options: dnslog.cn, interact.sh) \u2013 [Default: interact.sh].\n\u2013custom-dns-callback-host CUSTOM_DNS_CALLBACK_HOST\nCustom DNS Callback Host.\n\u2013disable-http-redirects\nDisable HTTP redirects. Note: HTTP redirects are useful as it allows the payloads to have a higher chance of reaching vulnerable systems.\n\nScan a Single URL\n\n$ python3 log4j-scan.py -u https://log4j.lab.secbot.local\n\nScan a Single URL using all Request Methods: GET, POST (url-encoded form), POST (JSON body)\n$ python3 log4j-scan.py -u https://log4j.lab.secbot.local --run-all-tests \nDiscover WAF bypasses against the environment.\n\n$ python3 log4j-scan.py -u https://log4j.lab.secbot.local \u2013waf-bypass\n\nScan a list of URLs\n\n$ python3 log4j-scan.py -l urls.txt\n\nInstallation\n\n$ pip3 install -r requirements.txt\n\nDocker Support\n\ngit clone https://github.com/fullhunt/log4j-scan.git\ncd log4j-scan\nsudo docker build -t log4j-scan .\nsudo [...]\n\n___________________________ \n@hacking_Attack\n@Hacking_Video", "creation_timestamp": "2026-09-07T01:00:29.335642Z"}