Skip to content
SSRF Disclosed report Beginner

SSRF at apps.nextcloud.com/developer/apps/releases/new

The developer app release form on apps.nextcloud.com accepted a user-supplied download URL and fetched it server-side, allowing an attacker to probe internal services on the loopback interface. By observing different error messages, the attacker could tell whether a given local port was open or closed.

t-pwn Follow

Originally disclosed on HackerOne

  • Disclosed after 37 days

Hi,

I've found SSRF vulnerability at https://apps.nextcloud.com/developer/apps/releases/new

##Description##

Server Side Request Forgery (SSRF) is a vulnerability that appears when an attacker has the ability to create requests from the vulnerable server.

Usually, Server Side Request Forgery (SSRF) attacks target internal systems behind the firewall that are normally inaccessible from the outside world (but using SSRF it’s possible to access these systems). With SSRF it’s also possible to access services from the same server that is listening on the loopback interface. Using Server Side Request Forgery attacks it’s possible to:

  • Scan and attack systems from the internal network that are not normally accessible
  • Enumerate and attack services that are running on these hosts
  • Exploit host-based authentication services

##Steps to reproduce##

port22openeed.png
port22openeed.png From the original on HackerOne
     means the 22 port is opened, the same with 80
port21isnotopened.png
port21isnotopened.png From the original on HackerOne
     means the 21 port isn't opened

Thanks.

The original report as published on HackerOne, by t-pwn. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could use the server to scan and potentially reach internal services on the loopback interface, though the report only demonstrates port-state disclosure through error messages.

How it was found

  1. Navigate to the new app release page.
  2. Enter a loopback URL with port 22 or 80 in the Download Link field.
  3. Observe an error indicating the port is open.
  4. Enter a loopback URL with port 21 and observe a different error indicating the port is closed.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A server-side request forgery (SSRF) bug lets an attacker make the website's own server send requests to places the attacker cannot reach directly, such as internal services. Here the 'Download Link' field was fetched by the server, so pointing it at the server's own loopback address revealed which local ports were open through different error messages.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

More by t-pwn

View all

5 more disclosed reports, best first.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.