CYLANTRO LABS/ BLOG
← Back to the blog

CL / 003 2026

Cylantro Labs / Blog

We Started Outside. We Got In.

In a three-week black-box infrastructure assessment, scanners flagged information exposure. The exposed data and an SSRF vulnerability ultimately led to a verified SSH login.

Case studyInfrastructurePenetration testingSSRFDNSSSH

Main stages of the assessment: public web application, SSRF, internal endpoint, internal DNS used by the application, test site and an internet-facing SSH service.

Information exposure is often classified as a low-severity finding. Here, the exposed data became our first clue to a path that ended in a verified login.

In a three-week black-box assessment, we examined a large internet-facing network. The client identified a few priority systems, including one web application. We worked from our own external IP address, without internal network information or a user account. We were not permitted to register for the priority application.

We first mapped the publicly reachable hosts and services. Then, within the agreed scope, we examined what the vulnerabilities and exposed data could make possible together.

The client used several commercial vulnerability scanners. We found no quickly exploitable entry point. Responses from public services did, however, reveal internal names, network addresses and parts of a consistent naming convention. The scanners flagged this information exposure. Manual investigation connected it to the access path we later verified.

The following diagrams show the story on a network with a similar structure to the one we assessed.

An external tester assesses five sample hosts in a public network, with web, SSH and other visible services.

An unusual response time

The priority web application responded to certain requests with unusual timing. This was not proof of a vulnerability, but it warranted focused investigation. The hardest part of the assessment was linking that behaviour to an SSRF vulnerability and validating its actual impact. The scanners did not flag it. The unusual installation location may have played a part.

SSRF stands for Server Side Request Forgery. It allows an external party to make a web application send a request to an address of their choosing. The request originates from the application's server, which may be able to reach internal services inaccessible directly from the internet. Here, the application also returned the internal endpoint's response to us, allowing us to read some of the data it served.

The external tester sends a web request to the public application. Through the SSRF, the application queries an internal service. Its response reaches the tester through the web application.

After validating the SSRF, we had to identify useful internal targets. Requests from the web application could reach several internal services that direct external requests could not. The next task was to find their addresses and interpret the responses.

Internal DNS revealed the systems

We did not know the internal services' names from outside. We used the data exposed earlier to identify likely targets.

DNS maps the names of machines and services to network addresses. Internal DNS may know names that are not visible from the internet. We could not query it directly. Instead, we supplied internal hostnames as targets in HTTP requests to the web application. Before connecting to a target over HTTP, the application resolved its name within its own network environment using internal DNS. The feedback then reached us through the web application.

The exposed names revealed the convention used for internal systems. We generated thousands of candidate names from that pattern and tried them in targeted HTTP requests. This sent thousands of name resolution queries to the internal DNS.

The web responses and errors helped us identify internal names with reachable services behind them.

The tester supplies internal hostnames as HTTP targets. The web application resolves the names through internal DNS, then sends HTTP requests to the internal service.

One of the names we identified led to an internal test site. It was not directly reachable from the internet, but we read its response through the web application's SSRF route. While examining the site's content, we found a developer's SSH key that had been left there.

Through the public web application, we read the response from an internal test site that was not directly reachable from outside. While examining the site, we found an SSH key that had been left there.

From an internal page to an external SSH login

We then checked whether the key worked against the SSH services reachable from the internet within the assessed network. An SSH service on another host accepted it, and we logged in directly from our external machine. The internal test site and that host were separate systems.

The external tester checks the recovered key against the internet-facing SSH services. One host accepts it and becomes a verified access point.

Within the authorised scope, we verified access by logging in and creating a harmless test file. The access could have opened routes to other internal systems, so we stopped there. We caused no harm.

Six steps in the access path: information exposure, SSRF validation, internal name resolution initiated by the web application, a test site and SSH key, checking public SSH services, and a verified login.

What risk did the assessment verify?

The assessment exposed these risks and gaps in the defences:

  • Internal information: exposed names and addresses enabled targeted discovery.
  • Internal data: the SSRF let us read responses from services we could not reach directly from outside.
  • SSH login: a different, internet-facing host accepted the key found on the test site.
  • Further systems: the login could have enabled access to other internal hosts and data, with possible effects on operations. We did not pursue this further.
  • Internal network: no restriction broke this route.
  • Detection: internal monitoring did not alert during the assessment.

What should be fixed?

The automated scanners flagged the information exposure. Manual investigation showed what the exposed data and the SSRF could enable together. We therefore divided the recommendations into specific areas:

  • Information exposure: remove internal names and addresses from public responses where they are not needed.
  • Web application: fix the SSRF and restrict which targets the application can request.
  • Internal firewall: allow only the internal connections the web application needs to operate.
  • SSH keys: remove and revoke the key found on the test site, then review the associated access.
  • Monitoring: alert on unusual internal requests, large-scale name resolution and unexpected SSH logins.

The report gave the client concrete steps to fix the vulnerabilities, restrict internal access, revoke the SSH key and strengthen monitoring.

Where would an attack from outside stop in your environment?

In this assessment, we started from the internet without a user account and reached a verified login to a server. Internal monitoring did not alert. The report showed which vulnerabilities and missing restrictions needed attention to break the route we had verified.

At Cylantro Labs, we test your internet-facing systems through an authorised black-box infrastructure assessment. We examine individual vulnerabilities and what they could enable together. This is worth understanding before a real attack.

Request a quote by email →

← Back to the blog