{"id":"CVE-2026-28342","aliases":["CVE-2026-28342","GHSA-pc8g-78pf-4xrp","GO-2026-4584"],"related":[],"kind":"vulnerability","state":"published","title":"OliveTin: Unauthenticated Denial of Service via Memory Exhaustion in PasswordHash API Endpoint","summary":"OliveTin gives access to predefined shell commands from a web interface. Prior to version 3000.10.2, the PasswordHash API endpoint allows unauthenticated users to trigger excessive memory allocation by sending concurrent password hashing requests. By issuing multiple parallel requests, an attacker can exhaust available container memory, leading to service degradation or complete denial of service (DoS). The issue occurs because the endpoint performs computationally and memory-intensive hashing operations without request throttling, authentication requirements, or resource limits. This issue has been patched in version 3000.10.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OliveTin gives access to predefined shell commands from a web interface. Prior to version 3000.10.2, the PasswordHash API endpoint allows unauthenticated users to trigger excessive memory allocation by sending concurrent password hashing requests. By issuing multiple parallel requests, an attacker can exhaust available container memory, leading to service degradation or complete denial of service (DoS). The issue occurs because the endpoint performs computationally and memory-intensive hashing operations without request throttling, authentication requirements, or resource limits. This issue has been patched in version 3000.10.2.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nThe PasswordHash API endpoint allows unauthenticated users to trigger excessive memory allocation by sending concurrent password hashing requests. By issuing multiple parallel requests, an attacker can exhaust available container memory, leading to service degradation or complete denial of service (DoS).\n\nThe issue occurs because the endpoint performs computationally and memory-intensive hashing operations without request throttling, authentication requirements, or resource limits.\n\n## Details\n\nThe vulnerable endpoint:\n\n`POST /api/olivetin.api.v1.OliveTinApiService/PasswordHash`\n\naccepts a JSON body containing a password field and returns a computed password hash.\n\nEach request triggers a memory-intensive hashing operation. When multiple concurrent requests are sent, memory consumption increases significantly. There are no safeguards such as:\n\n- Authentication requirements\n- Rate limiting\n- Request throttling\n- Memory usage caps per request\n- Concurrency controls\n\nAs a result, an attacker can repeatedly invoke the endpoint in parallel, causing excessive RAM allocation inside the container.\n\nIn a test environment, 50 concurrent requests resulted in approximately 3.2 GB of memory usage (≈64 MB per request), leading to service instability.\n\nThis behavior allows unauthenticated attackers to perform a denial of service attack by exhausting server memory resources.\n\n## PoC\nEnvironment\n\n- Docker container: olivetin-test\n- Exposed API on: http://localhost:1337\n- Default configuration (no authentication enabled)\n\n## Reproduction Steps\n\nRun the following script to send 50 concurrent requests:\n\n```bash\nfor i in $(seq 1 50); do\n  curl -s -X POST http://localhost:1337/api/olivetin.api.v1.OliveTinApiService/PasswordHash \\\n    -H \"Content-Type: application/json\" \\\n    -d \"{\\\"password\\\":\\\"flood-$i\\\"}\" &\ndone\ndocker stats olivetin-test --no-stream\nwait\n```\n\n```bash\n┌──(root㉿kali)-[~/cve/OliveTin]\n└─# docker stats olivetin-test --no-stream\nCONTAINER ID   NAME            CPU %     MEM USAGE / LIMIT     MEM %     NET I/O         BLOCK I/O        PIDS\n18509670bf3e   olivetin-test   344.63%   6.189GiB / 7.753GiB   79.83%    313kB / 288kB   4.31MB / 106MB   7\n\n```\n\n`Docker CPU is 344.63%`\n\n### Impact\n\nThis vulnerability allows unauthenticated remote attackers to:\n\n- Exhaust server memory\n- Crash the service\n- Cause availability loss\n- Trigger container termination in orchestrated environments\n\nThis is a Denial of Service (DoS) vulnerability affecting service availability.\n\nProduction deployments without reverse proxy rate limiting (e.g., Nginx, Traefik) are especially at risk.","format":"markdown","source":"ghsa"},{"lang":"en","text":"OliveTin has Unauthenticated Denial of Service via Memory Exhaustion in PasswordHash API Endpoint in github.com/OliveTin/OliveTin","format":"markdown","source":"go"},{"lang":"es","text":"OliveTin da acceso a comandos shell predefinidos desde una interfaz web. Antes de la versión 3000.10.2, el endpoint de la API PasswordHash permite a usuarios no autenticados activar una asignación excesiva de memoria enviando solicitudes concurrentes de hash de contraseñas. Al emitir múltiples solicitudes paralelas, un atacante puede agotar la memoria disponible del contenedor, lo que lleva a la degradación del servicio o a una denegación de servicio (DoS) completa. El problema ocurre porque el endpoint realiza operaciones de hashing computacionalmente y de memoria intensivas sin limitación de solicitudes, requisitos de autenticación o límites de recursos. Este problema ha sido parcheado en la versión 3000.10.2.","source":"nvd"}],"published":"2026-03-02T18:49:27.000Z","modified":"2026-06-17T10:28:27.423Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"version":"< 3000.10.2","status":"affected"}],"vendor":"OliveTin","product":"OliveTin","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20260227002407-2eb5f0ba79d4"}],"ecosystem":"Go","package":"github.com/OliveTin/OliveTin","purl":"pkg:golang/github.com/OliveTin/OliveTin","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20260227002407-2eb5f0ba79d4"}],"ecosystem":"Go","package":"github.com/OliveTin/OliveTin","purl":"pkg:golang/github.com/OliveTin/OliveTin","source":"go"},{"ranges":[{"status":"affected","fixed":"3000.10.2"}],"vendor":"olivetin","product":"olivetin","cpe":"cpe:2.3:a:olivetin:olivetin:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/OliveTin/OliveTin/security/advisories/GHSA-pc8g-78pf-4xrp","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/OliveTin/OliveTin/commit/2eb5f0ba79d4bbef3c802bf8b4666a7e18dcfd90","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/OliveTin/OliveTin/releases/tag/3000.10.2","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28342","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/OliveTin/OliveTin","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-03-06T18:02:37.019Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-28342","url":"https://www.cve.org/CVERecord?id=CVE-2026-28342","licence":"CVE Terms of Use","modified":"2026-03-06T18:02:40.848Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pc8g-78pf-4xrp","url":"https://github.com/advisories/GHSA-pc8g-78pf-4xrp","licence":"CC-BY-4.0","modified":"2026-03-23T04:55:58.994Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4584","url":"https://pkg.go.dev/vuln/GO-2026-4584","licence":"CC-BY-4.0","modified":"2026-03-23T04:53:11.839Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-28342","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28342","licence":"Public domain","modified":"2026-06-17T10:28:27.423Z"}],"updatedAt":"2026-11-25T22:59:15.333Z","epss":{"score":0.0074,"percentile":0.55856,"date":"2026-12-02T12:00:21.000Z"}}