Skip to content
Misconfiguration Disclosed report Intermediate CVE-2024-6577

TorchServe script references S3 bucket without ensuring ownership or confirming accessibility

A script in the TorchServe repository refers to an S3 bucket without verifying ownership or accessibility. An attacker could potentially access or modify data in that bucket if it is not properly secured or claimed.

torchserve

Originally disclosed on huntr

In the latest version of pytorch/serve, the script 'upload_results_to_s3.sh' references the S3 bucket 'benchmarkai-metrics-prod' without ensuring its ownership or confirming its accessibility. This could lead to potential security vulnerabilities or unauthorized access to the bucket if it is not properly secured or claimed by the appropriate entity. The issue may result in data breaches, exposure of proprietary information, or unauthorized modifications to stored data.

From the GitHub Advisory Database (GHSA-xx7c-j7h3-vjcq, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

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

Root cause

Likely the script hard-codes an S3 bucket name without verifying that the bucket is owned by the project or that access to it is properly restricted.

Impact

This could lead to data breaches, exposure of proprietary information, or unauthorised modifications to stored data if the bucket is not properly secured.

What the attacker needed

Access to the script; bucket not properly secured

The fix

The script should verify the ownership and accessibility of the S3 bucket before using it, or the bucket should be properly secured and claimed by the appropriate entity.

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 script in a software project points to a cloud storage location (an S3 bucket) but does not check who owns it or whether it is safe to use. If that storage location is not locked down, someone else might be able to read or change the data inside it.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.