CVE Professor
/
All CVEs
CVE-2026-47810

CVE-2026-47810 — VMware SALT (3006.31) — CWE-942

HIGH CVSS 8.8 CVE.org

The CherryPy REST API reflected the request Origin header in Access-Control-Allow-Origin while also allowing credentials, and the CORS preflight handler set a session token on unauthenticated OPTIONS requests. Any website can make credentialed cross-origin requests using an authenticated administrator's browser session, and the preflight handler can bypass the authentication check.

The CherryPy REST API reflected the request Origin header in Access-Control-Allow-Origin while also allowing credentials, and the CORS preflight handler set a session token on unauthenticated OPTIONS requests. Any website can make credentialed cross-origin requests using an authenticated administrator's browser session, and the preflight handler can bypass the authentication check.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Technical flaw
The CherryPy‑based REST API in VMware SALT 3006.31 is mis‑configured for Cross‑Origin Resource Sharing (CORS).

1. Origin echo – The API responds to any request by reflecting the value of the Origin request header into the Access‑Control‑Allow‑Origin response header.
2. Credentials allowed – The response also includes Access‑Control‑Allow‑Credentials: true, telling browsers that the server permits the inclusion of cookies and HTTP authentication in cross‑origin requests.
3. Session token on OPTIONS – The CORS pre‑flight handler (the OPTIONS method) creates and returns a new session token even when the request is unauthenticated.

Because browsers automatically attach the victim’s cookies to cross‑origin requests when Access‑Control‑Allow‑Credentials is set, an attacker can:

  • Forge a pre‑flight request from any domain, causing the server to issue a session cookie that is valid for an authenticated administrator session.
  • Send subsequent API calls (e.g., GET /api/v1/users, POST /api/v1/roles) with that cookie, thereby bypassing authentication and gaining full administrative privileges.
  • This is a classic CORS misconfiguration that effectively turns the API into a CSRF vector, allowing any website to perform privileged actions on behalf of an authenticated user.

    CWE mapping – The CVE record incorrectly references CWE‑942 (XML External Entity). The actual weakness is a CORS misconfiguration (often mapped to CWE‑285 “Improper Authorization” or CWE‑284 “Improper Access Control”), but the vendor’s CVE entry lists CWE‑942.

    ⚡ Attack Chain

    Below is a realistic, step‑by‑step chain that an attacker could follow. The exact endpoint URI is not provided in the CVE description; the example uses /api/v1/users as a typical administrative endpoint.

    StepActionTechnical Detail
    1. Discovery & ReconnaissanceIdentify the target and vulnerable API version• Scan the target host for CherryPy services (e.g., nmap -p 80,443 --script http-enum). <br>• Probe common REST paths (/api, /rest, /v1) and look for a 200 response to OPTIONS. <br>• Verify that the server returns Access‑Control‑Allow‑Origin set to the request’s Origin and Access‑Control‑Allow‑Credentials: true.
    2. Exploitation – Pre‑flightObtain a privileged session cookie``bash\ncurl -i -X OPTIONS \\\n -H 'Origin: https://evil.com' \\\n -H 'Access-Control-Request-Method: GET' \\\n -H 'Access-Control-Request-Headers: content-type' \\\n http://target.example.com/api/v1/users\n` <br>Response will include: <br>`\nHTTP/1.1 200 OK\nAccess-Control-Allow-Origin: https://evil.com\nAccess-Control-Allow-Credentials: true\nSet-Cookie: session_id=ABC123; Path=/; HttpOnly\n` <br> The Set-Cookie header establishes a session that the attacker can reuse.
    3. Exploitation – Privileged API callPerform an administrative action`bash\ncurl -i -X GET \\\n -H 'Cookie: session_id=ABC123' \\\n http://target.example.com/api/v1/users\n` <br>Because the cookie is valid for an administrator, the API will return the full list of users, or the attacker can POST to create a new admin account.
    4. Post‑exploitation – Persistence / Data exfiltrationUse the API to read/write data• Enumerate resources (GET /api/v1/records). <br>• Create a new admin user (POST /api/v1/users with role=admin`). <br>• Upload a webshell or backdoor via an endpoint that accepts file uploads. <br>• Exfiltrate data by downloading files or dumping database tables through the API.
    Illustrative example – The exact URI (/api/v1/users) is not specified in the CVE; it is used here to demonstrate the class of attack.

    🌍 Real World Impact

    ImpactCVSS VectorExplanation
    ConfidentialityC:HThe attacker can read any data exposed by the API (user lists, configuration, logs).
    IntegrityI:HThe attacker can modify or delete data, create new privileged accounts, or alter system configuration.
    AvailabilityA:HRepeated privileged requests can exhaust resources or trigger denial‑of‑service conditions.

    Practical consequences

  • Full administrative takeover – An attacker can impersonate an administrator without needing credentials.
  • Data exfiltration – Sensitive data can be extracted via the API.
  • Privilege escalation – Even if the attacker initially has only a low‑privilege account, the CORS flaw can be used to elevate privileges.
  • Persistence – New admin accounts or backdoors can be installed, enabling long‑term compromise.
  • Regulatory risk – Loss of confidentiality and integrity may trigger data‑breach notifications under GDPR, HIPAA, etc.
  • 🛡️ Remediation & Mitigation

    Affected Versions

  • VMware SALT 3006.31 (and any earlier releases that use the same CherryPy CORS implementation).
  • Patch / Upgrade

  • Upgrade to the latest VMware SALT release that removes the CORS misconfiguration.
  • * VMware recommends installing the most recent patch set (e.g., 3006.32 or later). * Verify the patch by checking the release notes for “CORS” or “Access‑Control‑Allow‑Origin” changes.

    Workarounds (if patching is not immediately possible)

    MitigationHow to Implement
    Restrict CORS originsConfigure the CherryPy application to return a static Access‑Control‑Allow‑Origin value (e.g., https://trusted.example.com) instead of echoing the request header.
    Disable credentialsRemove Access‑Control‑Allow‑Credentials: true from all responses.
    Block OPTIONS on unauthenticated requestsAdd a firewall or WAF rule that rejects OPTIONS requests that do not contain a valid authentication token or session cookie.
    Remove session creation on OPTIONSModify the server code to avoid setting a session cookie in the pre‑flight handler.
    WAF/ModSecurity ruleExample rule (ModSecurity 2.x syntax):<br>SecRule REQUEST_METHOD "OPTIONS" "phase:1,deny,status:403,msg:'Unauthenticated OPTIONS requests blocked'"

    Detection

    Log IndicatorExample Log EntryIoC
    OPTIONS request with Origin header127.0.0.1 - - [12/Dec/2026:10:15:23 +0000] "OPTIONS /api/v1/users HTTP/1.1" 200 - "https://evil.com"Origin: https://evil.com
    Set-Cookie on OPTIONSSet-Cookie: session_id=ABC123; Path=/; HttpOnlysession_id=
    Repeated cross‑origin requestsMultiple requests from the same IP with different Origin valuesIP + Origin pairs

    Log pattern to watch for

    .*OPTIONS.*"Origin: https?://[^"]+".*Set-Cookie: session_id=.*

    ⚠️ Urgency

  • CVSS score: 8.8 (High) – indicates a severe vulnerability that can be exploited remotely with low effort.
  • Exploit complexity: Low (no authentication required, simple HTTP requests).
  • CISA KEV status: No – but the lack of a KEV listing does not reduce the risk.
  • Recommendation: Immediate patching is required. If a patch is not available, apply the above workarounds and monitor for exploitation attempts. The vulnerability allows an attacker to gain full administrative control, so it should be treated with the same priority as a critical remote code execution flaw.
[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="VMware SALT"
CVSS Score
8.8 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-942
Affected Products (1)
VMware:SALT (3006.31)
References & Advisories (1)
Related CVEs
8.8
CVE-2026-41866
Symlink entries in a ZIP archive were created by archive.unzip without validating that their targets stayed in
8.8
CVE-2026-41867
clean_path() normalized paths before resolving symlinks, which let a symlink survive and bypass the directory
8.8
CVE-2026-47798
The eauth token directory was created world-listable (mode 0755). Each token file is named with the bearer tok
8.8
CVE-2026-47804
peer_run validated only the minion identity and function name. It did not restrict the arguments passed to the
5.3
CVE-2026-3364
IBM InfoSphere Information Server 11.7.0.0 through 11.7.1.6 uses cross-origin resource sharing (CORS) which co
9.3
CVE-2026-144337
osTicket before 1.17.9 and 1.18.0 before 1.18.5 contains an unauthenticated stored cross-site scripting vulner
9.2
CVE-2026-144579
curl_cffi 0.15.0 through 0.17.0 contains a server-side request forgery protection bypass in allow_redirects='s