Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
openlitespeed-dup-cookie-litespeed-role — OpenLiteSpeed 1.9.3 - High - Remote - Privilege leftover - HTTP/1 duplicate Cookie skips litespeed_role 403; lsphp still gets HTTP_COOKIE | Kitploit
Tools/GitHubGitHub/abraxas/openlitespeed-dup-cookie-litespeed-role
Vulnerability AnalysisExploitationWeb Application ExploitationInformation GatheringWeb SecurityPenetration TestingLabs & Practice
GitHub
abraxas/openlitespeed-dup-cookie-litespeed-role

openlitespeed-dup-cookie-litespeed-role

OpenLiteSpeed 1.9.3 - High - Remote - Privilege leftover - HTTP/1 duplicate Cookie skips litespeed_role 403; lsphp still gets HTTP_COOKIE

View Repository
1622 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    945
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    555
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    350
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    339
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    338
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    292

Explore all tools

Browse our collection of tools

View all tools →
Share

Abraxas Labs - openlitespeed-dup-cookie-litespeed-role

abraxaslabs.tech  ·  github.com/abraxas  ·  @abraxas_null  ·  [email protected]  ·  openlitespeed-dup-cookie-litespeed-role

Write-up: https://abraxaslabs.tech/research/openlitespeed-dup-cookie-litespeed-role

openlitespeed-dup-cookie-litespeed-role

Class: Privilege leftover Reach: Remote

OpenLiteSpeed 1.9.3 (edbe7f7db12577e905291955a6d416200942fb8b) still 403s a single Cookie: litespeed_role= (the 1.8.2.1 block). HTTP/1 duplicate Cookie is not 400. Host / Content-Length / Transfer-Encoding / Authorization duplicates are. The second Cookie line is demoted to unknown, the litespeed_role= scan never runs, IS_BL_COOKIE stays unset, and lsphp still receives HTTP_COOKIE. LSAPI last-wins: PHP $_SERVER['HTTP_COOKIE'] is the second line.

HTTP/2 already scans every Cookie header. This leftover is HTTP/1.1. The lab did not populate $_COOKIE['litespeed_role']. Not WordPress ATO. Not RCE.

IDno CVE yet
ClassPrivilege leftover (1.8.2.1 litespeed_role= 403 skip)
ReachRemote (unauthenticated HTTP/1.1)
CWECWE-693, CWE-436
CVSSHigh: 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
ProductOpenLiteSpeed
Affected1.9.3 (edbe7f7); HTTP/1.1 plus lsphp
Authnone
LicenseGNU Affero GPL v3.0
Lab127.0.0.1:18750 only

What an attacker can do

Send two Cookie headers on one HTTP/1.1 request. The first is harmless. The second carries litespeed_role=. OpenLiteSpeed 403s that name on a single Cookie header and on every HTTP/2 Cookie header. Duplicate HTTP/1 Cookie skips the 403. lsphp still sees the role in HTTP_COOKIE.

Apps that parse HTTP_COOKIE get the value the 1.8.2.1 control was meant to keep off the worker. Apps that only read $_COOKIE['litespeed_role'] did not see it in this lab.

PrivilegeMethod / pathLab-proven or inferred
Skip the 1.8.2.1 403 and land 200 on lsphp (integrity of the cookie block)HTTP/1.1 Cookie: dummy=1 plus Cookie: litespeed_role=WITNESSLab-proven. dup-cookie=200 php-sees-role=yes
Deliver the role name to PHP $_SERVER['HTTP_COOKIE'] (integrity of CGI env)LSAPI last-wins on the second Cookie lineLab-proven. Body HTTP_COOKIE=litespeed_role=OLS-DUP-COOKIE-LITESPEED-ROLE-WITNESS
Populate $_COOKIE['litespeed_role']PHP cookie tableLab-proven closed. Stayed empty
Same skip on HTTP/2Duplicate Cookie on h2Lab-proven closed. HTTP/2 scans every Cookie
WordPress ATO / RCE / file readOLS does not eval cookie bytes or grant a WP roleClosed on this leftover

Closed on this leftover: unauthenticated OS RCE, forging wordpress_logged_in_* without site secrets, and treating $_COOKIE['litespeed_role'] as set. Historical LSCWP is_role_simulation read $_COOKIE['litespeed_role'], which this lab did not populate.

How I found it

Twenty source hunts of v1.9.3 after Caddy and lighttpd. The 1.8.2.1 block is memmem(..., "litespeed_role=", 15) on the first common Cookie. Duplicate Cookie is not in the 400 list.

Wrong turns: treating urllib as able to send two Cookie headers (it merges them); expecting official docker to listen on 8088 (the Hub image is 80); expecting $_COOKIE to follow HTTP_COOKIE last-wins (LSAPI filled the cookie table from the first header).

Lab

python3 openlitespeed-dup-cookie-litespeed-role-Abraxas-Labs.py

or

cd lab
./run.sh

Image litespeedtech/openlitespeed:1.9.3-lsphp84. Oracle lab/www/cookie.php. Raw HTTP/1.1 sockets. Bind loopback 127.0.0.1:18750. Witness OLS-DUP-COOKIE-LITESPEED-ROLE-WITNESS.

SUCCESS openlitespeed-dup-cookie-litespeed-role single-cookie=403 dummy=200 dup-cookie=200 php-sees-role=yes how=php-http-cookie OLS-DUP-COOKIE-LITESPEED-ROLE-WITNESS

The fix

Scan every HTTP/1 Cookie header the way HTTP/2 already does, or 400 duplicate Cookie the way Host is 400.

References

  • github.com/litespeedtech/openlitespeed tag v1.9.3 (edbe7f7db12577e905291955a6d416200942fb8b)
  • src/http/httpreq.cpp duplicate common headers, first-Cookie litespeed_role= scan, IS_BL_COOKIE 403
  • src/http/httpcgitool.cpp unknown header export as HTTP_COOKIE
  • 1.8.2.1 block litespeed_role cookie
  • Same pin leftover: openlitespeed-h3-mtls-verifycontext
  • CWE-693 · CWE-436

License

GNU Affero GPL v3.0. See LICENSE. Loopback lab only. No warranty.

Download Tool