Breaking Down 5 Actual Vulns


Thank you for reading this post, don't forget to subscribe!

Not each safety vulnerability is excessive threat by itself – however within the palms of a complicated attacker, even small weaknesses can escalate into main breaches. These 5 actual vulnerabilities, uncovered by Intruder’s bug-hunting staff, reveal how attackers flip neglected flaws into critical safety incidents.

1. Stealing AWS Credentials with a Redirect

Server-Aspect Request Forgery (SSRF) is a standard vulnerability that may have a major impression, particularly in cloud-hosted functions. If an internet utility fetches assets from user-supplied URLs, care must be taken to make sure attackers cannot manipulate requests to entry unintended assets.

Whereas assessing a home-moving app operating in AWS, our staff examined widespread SSRF bypass methods.

The assault chain was as follows: the app despatched a webhook request to the attacker’s internet server, which responded with a 302 redirect to AWS’s metadata service. The app adopted the redirect and logged the response, which uncovered delicate metadata – together with AWS credentials.

With these credentials, an attacker might enumerate IAM permissions and try to pivot deeper into the cloud atmosphere.

This assault wouldn’t have been doable if the metadata service was implementing IMDSv2 – a finest apply {that a} good cloud safety scanner would have flagged. Whereas automated instruments may not have detected the total assault chain, breaking simply this a part of the chain might have prevented exploitation.

2. From Uncovered .git Repo to Full Database Entry

Whereas investigating an unintentionally uncovered .git repository flagged by a vulnerability scan, our staff found it belonged to a publicly accessible internet utility.

Reviewing the applying’s supply code, we uncovered an authentication bypass – the login web page might be accessed by supplying a hidden parameter.

Our staff gained entry to a administration device, the place additional evaluation revealed a blind SQL injection vulnerability in an authenticated web page.

Exploiting this vulnerability granted entry to a college’s database, which, if leveraged by an attacker, might have uncovered delicate private data of scholars and employees – exhibiting how a small misconfiguration can shortly escalate into a significant safety threat.

3. How a Tiny Element Led to Distant Code Execution

Whereas looking for bugs in a doc signing app, our staff seen that, after signing a PDF, the metadata listed “ExifTool” because the doc creator. Given ExifTool’s historical past of essential vulnerabilities, we dug deeper.

Though the applying did not disclose the device’s model, testing for latest recognized vulnerabilities confirmed it was weak to CVE-2021-22204. By creating and importing a malicious PDF, our staff efficiently gained distant command execution because the www-data person.

This foothold might have allowed an attacker to leverage extra vulnerabilities on the affected server, enabling them to realize root entry and pivot to different machines on the community, inflicting intensive harm.

4. From Self-XSS to Web site-Vast Account Takeover

Cross-site scripting (XSS) is a robust assault vector for session hijacking assaults, particularly when no person interplay is required. Whereas a ‘Self-XSS’ vulnerability is usually low threat, it could possibly develop into harmful when mixed with one other vulnerability.

Our staff uncovered this actual state of affairs whereas assessing an public sale utility. A Self-XSS vulnerability was found the place a user-supplied HTTP request header was mirrored within the utility’s response.

Usually, this could be innocent since an attacker cannot pressure a sufferer’s browser to ship a malicious header – however additional testing uncovered a cache-poisoning vulnerability.

By chaining these two weaknesses, our staff tricked the app into caching and serving the Self-XSS payload to all website guests, escalating it to a site-wide persistent XSS assault.

This may have allowed an attacker to hijack any person account – together with admin accounts.

5. Altering a Quantity to Expose Delicate Knowledge

API weaknesses are extra widespread than you’d suppose. Amongst them, IDOR vulnerabilities require little effort to use past modifying an identifier in a request.

The true problem for an attacker is not execution however discovery – discovering a weak endpoint that can be utilized with out correct authentication or authorization, and recognizing that it exposes delicate knowledge. As soon as discovered, exploitation may be so simple as altering the identifier to a useful resource that the person doesn’t personal, or simply making a request to an endpoint that must be reserved for directors.

Our staff steadily identifies IDOR, lacking authentication, and damaged authorization weaknesses in APIs. Listed here are some snippets from actual HTTP requests and paths we discovered that uncovered extremely delicate knowledge:

  • GET /organisations/edit_user?user_id=1001: The attacker might modify person profiles and hijack accounts
  • GET /prod-applicantresumes/12031.pdf: The attacker might entry job seekers’ CVs.
  • POST /Order/Obtain, OrderNo=10202: The attacker might entry buyer order data.

These examples are about so simple as API weaknesses get, however the penalties are far-reaching. By merely altering one quantity and enumerating by way of 1000’s of values, whole databases of knowledge belonging to different clients may be downloaded.

Cease breaches earlier than they begin

These real-world examples present how vulnerabilities can escalate into critical breaches when left unchecked. Attackers do not wait – they’re all the time trying to find new entry factors. Step one to staying forward? Realizing what attackers can entry from the web – together with property you may not even know exist. Intruder repeatedly discovers these unknowns, like subdomains, logins, and APIs, and scans them for exposures that different options miss.

Intruder’s Discovery tab – for these property you probably did (or perhaps did not know) existed

From functions to cloud infrastructure, discover and safe it multi functional, highly effective platform with Intruder. Be taught extra or begin scanning with a 14 day free trial.

Discovered this text fascinating? This text is a contributed piece from one in all our valued companions. Observe us on Twitter and LinkedIn to learn extra unique content material we submit.