Questions tagged [ssrf]
Server Side Request Forgery (SSRF) is a vulnerability that appears when an attacker has the ability to create requests from the vulnerable server.
38
questions
0
votes
1
answer
35
views
Server Side Request Forgery Vulnerability Question
I am working on a CTF called Internal. I know there are walkthroughs available but I am trying not to look at them for the time being and try and work through things myself. The admin page that is the ...
0
votes
0
answers
112
views
SSRF change method from POST to GET
I'm currently doing a pentest and noticed an endpoint where SSRF is possible. The internal request that is sent is a POST request. I would like to find a way to change it to a GET request. I spun up ...
0
votes
1
answer
180
views
SSRF through image searching function?
I am testing this site which has a feature where a user can enter a URL, and the site will grab all images from that URL and allow the user to use them on the site.
This is my first time looking for ...
0
votes
1
answer
108
views
SSRF payload returns 200 ok
If i run a SSRF payload and it returns 200 ok, does it means the target is vulnerable?
There is nothing that would be considerable leaked like data in a body, just the content-type to date such stuff
0
votes
0
answers
86
views
How to circumvent SSRF filter?
I am learning on Tryhackme.com how to circumvent SSRF filter.
There is a website, let's assume it is test.com. test.com has two access points. First is /private which is restricted, and /new-user-...
1
vote
2
answers
536
views
What is the effect of the "&x=" in a SSRF? Is it something related to encoding?
I'm learning SSRF. I learnt that typing &x= kinda turn off the rest of an URL (like https://some.website.com/user?id=9&x=.website.com/api/item?id=9)
Everything that comes after the &x= ...
0
votes
1
answer
81
views
What other methods would an attacker use for making an HTTP request that isn't Fetch() or an XHR or using the DOM?
We are running user-submitted JavaScript, server-side to be executed within a headless browser that doesn't have a DOM or any child of the window or document or location objects - because these are ...
0
votes
0
answers
36
views
Load url from CSS applied to element outside DOM
I was wondering if it's possible to kick off a network call by manipulating the style tag on an element outside the DOM (which could lead to potential SSRF if this were done server-side). I've tried a ...
1
vote
1
answer
172
views
SSRF exploitation using MIME Type response
My website has an upload form for avatar, you can either upload image directly from PC or either make website grab it from another host.
If the MIME Type is wrong , the response will contain the ...
0
votes
1
answer
4k
views
CheckMarx SSRF Vulnerability
I have a REST which takes a parameter dataSource as input and myService has follow logic.
@RequestMapping(value ="/save", method = RequestMethod.POST)
public List<String> find(@...
0
votes
1
answer
557
views
Uploading/writing server files via SSRF?
Say I've found a perfect SSRF vulnerability in a web application that lets me send web requests to any URL, any host, any port, any scheme. I can use the file:// scheme to get the contents of local ...
0
votes
1
answer
155
views
What exploit possible when GET request are forged as internal? [closed]
Suppose I was able to bypass CSRF check. I was able to forge any GET request and make it look like it was issued by the user himself. Is the web application vulnerable to somehow to 'Client-side' ...
0
votes
1
answer
338
views
What is the difference when a request is made to an open redirect vulnerable url though a browser and through the server using ssrf?
There is a url abc.com/something vulnerable to open redirect to xyz.com (fixed)
I am catching requests at xyz.com to see contents of requests coming to it.
When I browse abc.com/something (being ...
1
vote
1
answer
135
views
Is there any way to get a unicode character that has a byte of 23?
I am pentesting a web application. It makes a backend call to another application, and I am trying to hijack that call.
I have gained control over the URL path, query parameters, and fragment that is ...
3
votes
1
answer
750
views
Hijacking URL that ends with a trailing slash
I am pentesting an API which makes a backend call to https://example.org/ and appends any input you provide it (for example, if you provide test it will call https://example.org/test). I am trying to ...
0
votes
0
answers
179
views
SSRF - Internal network surfing
If an IIS web server exposes a site in INTERNET, is it possible for an attacker to access internal sites by simply modifying the host header of initial request to internet site and refer another host ...
1
vote
2
answers
1k
views
Possible SSRF in image tag that takes (partial) user input?
A webapp has an img tag that partially takes userinput like so:
<img src="/blah/blah/$USERINPUT.jpg">
where the first / is from the root of the domain.
Could there be a vulnerability ...
0
votes
1
answer
2k
views
SSRF Through Image Url
I am currently studying regarding SSRF. I noticed that an injection vector where SSRF might be present is always parameters that is related to url (Importing image using URL, others). I have ...
2
votes
0
answers
819
views
HTML Injection to blind SSRF testing retrieves only DNS Query
I recently came across an application that was vulnerable to HTML injection on the invite function. When I insert <img src="image.jpg"> the image got rendered on the mail I received.
I ...
1
vote
1
answer
3k
views
What measures can be taken to prevent Server Side Request Forgery (SSRF) in a JAX-RS Application running on Apache Tomcat?
If I have a an application server that uses an implementation of JAX-RS, and is running as *.war file on an Apache Tomcat server, is there anything special that needs to be done or configured to ...
2
votes
2
answers
903
views
Why does Portswigger's solution to the lab "SSRF with whitelist-based input filter" work?
The URL with the exercise is: https://portswigger.net/web-security/ssrf/lab-ssrf-with-whitelist-filter
The solution is:
http://localhost:80%[email protected]/admin/delete?username=carlos
A ...
2
votes
0
answers
220
views
Is it safe to let users enter a URL in my app that queries an external REST api?
The idea was to allow users to enter a URL inside the application that would send a request to my backend, fetch the data, and load it into a local cache (Apollo/GraphQL). The only sensitive data sent ...
1
vote
0
answers
2k
views
Burp: Out Of band resource load
I scanned a web app using Burp and it reported this vulnerability. When I click on the issue it show this request and response:
Request:
GET / HTTP/1.1
Host: xxxxx.burpcollaborator.net
Pragma: no-...
2
votes
2
answers
426
views
Secure AWS instance metadata against potential SSRF
I am running a Windows instance on AWS.
The instance has an IIS service running on it.
The IIS service has a user associated to it and it has no need to access the AWS instance metadata.
I was ...
5
votes
1
answer
3k
views
How to exploit SVG xlink-based SSRF
First, let me summarize how the SSRF works:
1) You setup an SVG image with a reference to your server via xlink. Here's an example that works:
<?xml version="1.0" encoding="UTF-8" standalone="no"?...
2
votes
2
answers
3k
views
Flow of a host header injection attack?
I am new to this field and would like to know how the flow happens in a host header injection attacks.
I believe it's as below:
Client generates the request.
Attacker manipulates the request and ...
2
votes
1
answer
468
views
is SSRF attack or vulnerability?
I'm reading now about SSRF attacks, and many articles "SSRF is an attack" and others said "it's a vulnerability." Which is correct?
-1
votes
2
answers
1k
views
Testing RCE and SSRF using Python SimpleHTTPServer [closed]
Is it possible to test RCE and SSRF vulnerabilities using Python SimpleHTTPServer? Or should I use a VPS server?
5
votes
2
answers
12k
views
What is the difference between RFI/LFI and SSRF?
Is there any difference between those? Can we say that Server Side Request Forgery (SSRF) is a generalization of Remote File Inclusion (RFI) and Local File Inclusion (LFI)?
2
votes
1
answer
484
views
SSRF when user input is appended to hostname
Is it considered a SSRF vulnerability (or is it dangerous at all) if the backend of an application fetches a URL that is somewhat based off of user input, in a way similar to this
get("https://...
3
votes
2
answers
2k
views
Server Side request forgery (SSRF) explanation
I am looking to gain a better understanding of the SSRF vulnerability.
I have googled and watched YouTube tutorials but they all show advanced techniques that are difficult to understand.
I am ...
6
votes
1
answer
4k
views
What can be done with Blind SSRF?
I know SSRF can be exploited with the file:// protocol to read local files (something like path traversal) and also scan ports of hosts from the same network as the web server.
but how Blind SSRF can ...
3
votes
0
answers
4k
views
how to fix Out-of-band resource load (HTTP) issue identified by BURP scan
I have Salesforce application which is using my web application hosted in one of our customer's server (IIS 8.0).
BURP Scan has identified one issue in my web application. Issue is something like ...
1
vote
1
answer
1k
views
SSRF PoC using fill="url(...)" with absolute path
I read this interesting report which describes a SSRF vulnerability allowing to fetch internal images by using the url property in a path element. However, even though this vulnerability most likely ...
4
votes
2
answers
247
views
Potential issues allowing users to set any URL as web hook
I’m still in the planning stage so this may not be fully fleshed out, but I’m working on a SaaS project. Part of which allows users (customers of my SaaS) to configure my API to watch for events and ...
1
vote
1
answer
648
views
Attacker can check external IP from a SSRF vuln?
I'm testing for SSRF vulnerabilities so my question is; can I check external IP (from another computer on the network) from a SSRF vulnerability?
6
votes
1
answer
2k
views
SSRF Attack Exploitation Scenario
In this video (0:37) the guy starts a simple HTTP server using Python and then uses a link to fetch a file from the server he just started. But how does this pose a potential security vulnerability?
...
16
votes
1
answer
17k
views
Preventing Server-Side Request Forgeries in Java
The application lets users specify a URL for their profile picture. It fetches the data from the URL and saves it on the server. However, the app is vulnerable to server-side request forgery (SSRF) - ...