🔍 CVE-2023-32689

6.3
CVSS Score
MEDIUM
2023-05-30
2026-06-17 05:59
✅ 완료

🇰🇷 한글 설명

Parse Server의 특정 버전에서 사용자가 악성 HTML 파일을 업로드할 수 있는 피싱 취약점이 발견되었습니다. 공격자는 업로드된 HTML 파일을 통해 신뢰할 수 있는 도메인에서 피싱 공격을 수행하거나, JavaScript SDK를 사용하는 경우 로컬 스토리지에 저장된 세션 토큰을 탈취할 수 있습니다.

💡 쉬운 설명

해커가 회사 웹사이트 주소와 똑같은 주소에 가짜 페이지를 올려 사용자를 속일 수 있는 문제입니다. 이 가짜 페이지를 통해 사용자의 로그인 정보(세션 토큰)를 몰래 훔쳐갈 수도 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

Parse Server 5.4.4 및 6.1.1 미만 버전

⚔️ 공격 벡터

공개 API를 통해 악성 HTML 파일을 업로드한 후, 해당 파일의 URL을 공유하여 피싱 및 세션 탈취 시도

🛡️ 대응 방법

Parse Server를 5.4.4 또는 6.1.1 이상 버전으로 업데이트하고, fileUpload.fileExtensions 옵션을 통해 HTML 확장자 업로드를 제한함

🔧 검증 코드

출력된 parse-server의 버전이 5.4.4 또는 6.1.1보다 낮은지 확인

Shell / Script
npm list parse-server

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N

💻 영향받는 소프트웨어

Node.js