Skip to content
File upload Disclosed report Intermediate CVE-2022-1411

Unrestricted Upload of File with Dangerous Type in yetiforce-crm

The application allowed unrestricted upload of files with dangerous types. An attacker could send malicious files and retrieve stored data without it being made safe to render in the browser, potentially stealing a victim's cookie and leading to account takeover.

yetiforcecompany/yetiforcecrm

Originally disclosed on huntr

Unrestructed file upload in GitHub repository yetiforcecompany/yetiforcecrm prior to 6.4.0. Attacker can send malicious files to the victims is able to retrieve the stored data from the web application without that data being made safe to render in the browser and steals victim's cookie leads to account takeover.

From the GitHub Advisory Database (GHSA-pqr6-3j58-9w58, 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 application did not validate or restrict the types of files that could be uploaded, allowing dangerous file types to be stored and later served to users.

Impact

An attacker could upload a malicious file, and when a victim views it, the attacker could steal the victim's cookie and take over their account.

What the attacker needed

Ability to upload files; victim views the uploaded file

The fix

The issue was fixed in version 6.4.0 by restricting file uploads to safe types.

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.

This is about a file upload feature that did not check what kind of file was being uploaded. An attacker could upload a harmful file, and when someone else viewed it, the file could run code in their browser, steal their login cookie, and let the attacker take over their account.

What is File upload?

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.

More from yetiforcecompany/yetiforcecrm

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.