CVE-2023-32689 Parse Server vulnerable to phishing attack vulnerability that involves uploading malicious HTML file

Medium 6.3 Published Updated

Attackers can upload malicious HTML files to Parse Server to conduct phishing attacks and steal user session tokens from local storage.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-32689?

CVE-2023-32689 is a medium-severity vulnerability in Parseplatform Parse-Server, published on 30 May 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Versions prior to 5.4.4 and 6.1.1 are vulnerable to a phishing attack vulnerability that involves a user uploading malicious files. A malicious user could upload an HTML file to Parse Server via its public API. That HTML file would then be accessible at the internet domain at which Parse Server is hosted. The URL of the the uploaded HTML could be shared for phishing attacks. The HTML page may seem legitimate because it is served under the internet domain where Parse Server is hosted, which may be the same as a company's official website domain.

An additional security issue arises when the Parse JavaScript SDK is used. The SDK stores sessions in the internet browser's local storage, which usually restricts data access depending on the internet domain. A malicious HTML file could contain a script that retrieves the user's session token from local storage and then share it with the attacker.

The fix included in versions 5.4.4 and 6.1.1 adds a new Parse Server option `fileUpload.fileExtensions` to restrict file upload on Parse Server by file extension. It is recommended to restrict file upload for HTML file extensions, which this fix disables by default. If an app requires upload of files with HTML file extensions, the option can be set to `['.*']` or another custom value to override the default.

Weakness: CWE-434

Which versions are affected by CVE-2023-32689?

5 open source packages ship an affected version, including parse-server and parse. It affects 1 product.

PackageAffectedFixed in
parse-server npmAll versions5.4.4
parse-server npmAll versions5.4.4
parse-server npmFrom 6.0.06.1.1
parse-server npmFrom 6.0.06.1.1
parse BitnamiAll versions5.4.4, 6.1.1

Products include Parseplatform Parse-Server.

How do I fix CVE-2023-32689?

Upgrade parse-server to a fixed version for your release line: 5.4.4 or 6.1.1.

Is CVE-2023-32689 being exploited?

There is no known exploitation of CVE-2023-32689 in the wild and no public exploit code.

All Parseplatform Parse-Server vulnerabilities

Sources

Also known as BIT-parse-2023-32689, GHSA-9prm-jqwx-45x9.

Is CVE-2023-32689 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free