Skip to content

[Precogs Alert] Insecure Direct Object Reference (IDOR) detected (CWE-639, Risk: High)#10

Open
sameer6pre wants to merge 1 commit intomainfrom
Precogs-fix-ifjbm5gd
Open

[Precogs Alert] Insecure Direct Object Reference (IDOR) detected (CWE-639, Risk: High)#10
sameer6pre wants to merge 1 commit intomainfrom
Precogs-fix-ifjbm5gd

Conversation

@sameer6pre
Copy link
Owner

Vulnerability Details

  • File Path: orbit-app/src/components/DownloadFile.jsx
  • Vulnerability Type: Insecure Direct Object Reference (IDOR)
  • Risk Level: High

Explanation:
The code directly uses the 'fileId' parameter to construct a URL for fetching a file and also uses it as the filename for the downloaded file. If 'fileId' is not properly validated or sanitized, an attacker could manipulate it to access unauthorized files or inject malicious content.

Please review and address the issue accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant