CVE-2023-32689

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:*
cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:*

History

06 Jun 2023, 20:08

Type Values Removed Values Added
CPE cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:*
CWE CWE-434
References (MISC) https://github.com/parse-community/parse-server/pull/8538 - (MISC) https://github.com/parse-community/parse-server/pull/8538 - Patch
References (MISC) https://github.com/parse-community/parse-server/security/advisories/GHSA-9prm-jqwx-45x9 - (MISC) https://github.com/parse-community/parse-server/security/advisories/GHSA-9prm-jqwx-45x9 - Vendor Advisory
References (MISC) https://github.com/parse-community/parse-server/pull/8537 - (MISC) https://github.com/parse-community/parse-server/pull/8537 - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5
First Time Parseplatform
Parseplatform parse-server

30 May 2023, 18:52

Type Values Removed Values Added
New CVE

Information

Published : 2023-05-30 18:15

Updated : 2023-12-10 15:01


NVD link : CVE-2023-32689

Mitre link : CVE-2023-32689

CVE.ORG link : CVE-2023-32689


JSON object : View

Products Affected

parseplatform

  • parse-server
CWE
CWE-434

Unrestricted Upload of File with Dangerous Type