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

Published May 30, 2023
·
Updated

Impact

Phishing attack vulnerability by uploading malicious files. A malicious user could upload a 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.

Patches

The fix 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.

References

- https://github.com/parse-community/parse-server/security/advisories/GHSA-9prm-jqwx-45x9 - https://github.com/parse-community/parse-server/pull/8538 (Parse Server 6) - https://github.com/parse-community/parse-server/pull/8537 (Parse Server 5)

Other sources

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.

Affected Software

4 affected componentsFixes available
npm/parse-server>=6.0.0<6.1.1
6.1.1
npm/parse-server<5.4.4
5.4.4
parseplatform Parse-server Node.js<5.4.4
parseplatform Parse-server Node.js>=6.0.0<6.1.1

Event History

May 30, 2023
CVE Published
via MITRE·05:27 PM
Data Sourced
via MITRE·05:27 PM
DescriptionSeverityWeakness
Data Sourced
06:15 PM
Description
May 31, 2023
Advisory Published
11:39 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-32689?

CVE-2023-32689 is a vulnerability in Parse Server, an open source backend that allows uploading malicious files via its public API.

2

What is the impact of CVE-2023-32689?

The vulnerability in CVE-2023-32689 allows for a phishing attack by uploading a malicious HTML file to Parse Server, which can be accessed via the internet domain where Parse Server is hosted.

3

How can a malicious user exploit CVE-2023-32689?

A malicious user can exploit CVE-2023-32689 by uploading a malicious HTML file to Parse Server using its public API.

4

Which versions of Parse Server are affected by CVE-2023-32689?

Versions up to and including 6.1.1 of Parse Server are affected by CVE-2023-32689.

5

How can I fix CVE-2023-32689?

To fix CVE-2023-32689, upgrade Parse Server to version 6.1.1 or apply the provided fix in the security advisories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203