Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-26049 PoC — Cookie parsing of quoted values can exfiltrate values from other cookies in Eclipse Jetty

Source
Associated Vulnerability
Title:Cookie parsing of quoted values can exfiltrate values from other cookies in Eclipse Jetty (CVE-2023-26049)
Description:Jetty is a java based web server and servlet engine. Nonstandard cookie parsing in Jetty may allow an attacker to smuggle cookies within other cookies, or otherwise perform unintended behavior by tampering with the cookie parsing mechanism. If Jetty sees a cookie VALUE that starts with `"` (double quote), it will continue to read the cookie string until it sees a closing quote -- even if a semicolon is encountered. So, a cookie header such as: `DISPLAY_LANGUAGE="b; JSESSIONID=1337; c=d"` will be parsed as one cookie, with the name DISPLAY_LANGUAGE and a value of b; JSESSIONID=1337; c=d instead of 3 separate cookies. This has security implications because if, say, JSESSIONID is an HttpOnly cookie, and the DISPLAY_LANGUAGE cookie value is rendered on the page, an attacker can smuggle the JSESSIONID cookie into the DISPLAY_LANGUAGE cookie and thereby exfiltrate it. This is significant when an intermediary is enacting some policy based on cookies, so a smuggled cookie can bypass that policy yet still be seen by the Jetty server or its logging system. This issue has been addressed in versions 9.4.51, 10.0.14, 11.0.14, and 12.0.0.beta0 and users are advised to upgrade. There are no known workarounds for this issue.
File Snapshot

[4.0K] /data/pocs/2bb22e060ae61d1810e86565b09eee324d59984d └── [4.0K] main ├── [4.0K] assembly │   └── [ 338] site-component.xml ├── [4.0K] config │   ├── [4.0K] etc │   │   ├── [ 430] home-base-warning.xml │   │   ├── [2.1K] jdbcRealm.properties │   │   ├── [ 813] jetty-acceptratelimit.xml │   │   ├── [ 791] jetty-bytebufferpool.xml │   │   ├── [ 694] jetty-connectionlimit.xml │   │   ├── [1.9K] jetty-customrequestlog.xml │   │   ├── [1.1K] jetty-debuglog.xml │   │   ├── [1.7K] jetty-debug.xml │   │   ├── [2.6K] jetty-gzip.xml │   │   ├── [1.9K] jetty-http-forwarded.xml │   │   ├── [1.2K] jetty-https.xml │   │   ├── [3.4K] jetty-http.xml │   │   ├── [ 897] jetty-ipaccess.xml │   │   ├── [1.6K] jetty-lowresources.xml │   │   ├── [ 359] jetty-proxy-protocol-ssl.xml │   │   ├── [ 360] jetty-proxy-protocol.xml │   │   ├── [2.0K] jetty-requestlog.xml │   │   ├── [ 513] jetty-ssl-context-reload.xml │   │   ├── [3.9K] jetty-ssl-context.xml │   │   ├── [3.8K] jetty-ssl.xml │   │   ├── [ 718] jetty-stats.xml │   │   ├── [ 884] jetty-threadlimit.xml │   │   ├── [2.0K] jetty-threadpool.xml │   │   ├── [8.2K] jetty.xml │   │   └── [4.0K] sessions │   │   ├── [4.0K] file │   │   │   └── [ 933] session-store.xml │   │   ├── [1.5K] id-manager.xml │   │   ├── [4.0K] jdbc │   │   │   ├── [ 678] datasource.xml │   │   │   ├── [ 756] driver.xml │   │   │   └── [2.9K] session-store.xml │   │   ├── [1.2K] session-cache-hash.xml │   │   ├── [ 924] session-cache-null.xml │   │   └── [4.0K] session-data-cache │   │   └── [ 864] session-caching-store.xml │   └── [4.0K] modules │   ├── [ 472] acceptratelimit.mod │   ├── [ 782] bytebufferpool.mod │   ├── [ 433] connectionlimit.mod │   ├── [ 267] continuation.mod │   ├── [ 921] customrequestlog.mod │   ├── [ 554] debuglog.mod │   ├── [ 669] debug.mod │   ├── [ 276] ext.mod │   ├── [ 368] flight-recorder.mod │   ├── [ 940] gzip.mod │   ├── [ 237] home-base-warning.mod │   ├── [1.2K] http-forwarded.mod │   ├── [1.7K] http.mod │   ├── [ 271] https.mod │   ├── [4.0K] inetaccess │   │   └── [1.7K] jetty-inetaccess.xml │   ├── [ 707] inetaccess.mod │   ├── [ 266] ipaccess.mod │   ├── [ 124] jdbc.mod │   ├── [ 839] jvm.mod │   ├── [4.0K] logback-access │   │   ├── [ 666] jetty-logback-access.xml │   │   └── [ 574] logback-access.xml │   ├── [ 617] logback-access.mod │   ├── [1.0K] lowresources.mod │   ├── [ 430] proxy-protocol.mod │   ├── [ 457] proxy-protocol-ssl.mod │   ├── [ 950] requestlog.mod │   ├── [ 331] resources.mod │   ├── [2.6K] server.mod │   ├── [ 703] session-cache-hash.mod │   ├── [ 414] session-cache-null.mod │   ├── [4.0K] sessions │   │   └── [4.0K] jdbc │   │   ├── [ 213] datasource.mod │   │   └── [ 204] driver.mod │   ├── [ 689] sessions.mod │   ├── [ 607] session-store-cache.mod │   ├── [ 430] session-store-file.mod │   ├── [2.1K] session-store-jdbc.mod │   ├── [4.0K] ssl │   │   └── [3.6K] keystore │   ├── [4.1K] ssl.mod │   ├── [ 376] ssl-reload.mod │   ├── [ 326] stats.mod │   ├── [ 415] threadlimit.mod │   └── [ 591] threadpool.mod ├── [4.0K] java │   └── [4.0K] org │   └── [4.0K] eclipse │   └── [4.0K] jetty │   └── [4.0K] server │   ├── [5.2K] AbstractConnectionFactory.java │   ├── [ 28K] AbstractConnector.java │   ├── [ 14K] AbstractNCSARequestLog.java │   ├── [3.2K] AbstractNetworkConnector.java │   ├── [7.9K] AcceptRateLimit.java │   ├── [4.7K] AsyncAttributes.java │   ├── [3.8K] AsyncContextEvent.java │   ├── [5.7K] AsyncContextState.java │   ├── [1.3K] AsyncNCSARequestLog.java │   ├── [3.4K] AsyncRequestLogWriter.java │   ├── [6.4K] Authentication.java │   ├── [ 25K] CachedContentFactory.java │   ├── [2.8K] ClassLoaderDump.java │   ├── [5.4K] ConnectionFactory.java │   ├── [8.2K] ConnectionLimit.java │   ├── [3.4K] Connector.java │   ├── [9.4K] ConnectorStatistics.java │   ├── [ 16K] CookieCutter.java │   ├── [ 39K] CustomRequestLog.java │   ├── [ 12K] DebugListener.java │   ├── [ 14K] DetectorConnectionFactory.java │   ├── [ 17K] Dispatcher.java │   ├── [1.8K] EncodingHttpWriter.java │   ├── [ 24K] ForwardedRequestCustomizer.java │   ├── [4.0K] handler │   │   ├── [6.4K] AbstractHandlerContainer.java │   │   ├── [7.3K] AbstractHandler.java │   │   ├── [3.0K] AllowSymLinkAliasChecker.java │   │   ├── [5.6K] AsyncDelayHandler.java │   │   ├── [ 12K] BufferedResponseHandler.java │   │   ├── [ 14K] ContextHandlerCollection.java │   │   ├── [ 97K] ContextHandler.java │   │   ├── [5.8K] DebugHandler.java │   │   ├── [8.4K] DefaultHandler.java │   │   ├── [ 23K] ErrorHandler.java │   │   ├── [4.0K] gzip │   │   │   ├── [1.1K] GzipFactory.java │   │   │   ├── [ 36K] GzipHandler.java │   │   │   ├── [2.4K] GzipHttpInputInterceptor.java │   │   │   ├── [ 15K] GzipHttpOutputInterceptor.java │   │   │   └── [ 883] package-info.java │   │   ├── [7.5K] HandlerCollection.java │   │   ├── [2.1K] HandlerList.java │   │   ├── [4.4K] HandlerWrapper.java │   │   ├── [3.6K] HotSwapHandler.java │   │   ├── [3.9K] IdleTimeoutHandler.java │   │   ├── [6.7K] InetAccessHandler.java │   │   ├── [ 12K] IPAccessHandler.java │   │   ├── [4.0K] jmx │   │   │   ├── [3.6K] AbstractHandlerMBean.java │   │   │   ├── [2.8K] ContextHandlerMBean.java │   │   │   └── [ 902] package-info.java │   │   ├── [3.4K] ManagedAttributeListener.java │   │   ├── [4.3K] MovedContextHandler.java │   │   ├── [ 891] package-info.java │   │   ├── [2.4K] RequestLogHandler.java │   │   ├── [ 15K] ResourceHandler.java │   │   ├── [ 10K] ScopedHandler.java │   │   ├── [2.7K] SecuredRedirectHandler.java │   │   ├── [8.6K] ShutdownHandler.java │   │   ├── [ 20K] StatisticsHandler.java │   │   └── [ 15K] ThreadLimitHandler.java │   ├── [2.2K] HandlerContainer.java │   ├── [3.5K] Handler.java │   ├── [2.4K] HomeBaseWarning.java │   ├── [2.7K] HostHeaderCustomizer.java │   ├── [ 43K] HttpChannel.java │   ├── [ 11K] HttpChannelListeners.java │   ├── [ 18K] HttpChannelOverHttp.java │   ├── [ 41K] HttpChannelState.java │   ├── [ 25K] HttpConfiguration.java │   ├── [3.2K] HttpConnectionFactory.java │   ├── [ 29K] HttpConnection.java │   ├── [ 33K] HttpInput.java │   ├── [1.2K] HttpInputOverHTTP.java │   ├── [ 58K] HttpOutput.java │   ├── [2.9K] HttpTransport.java │   ├── [2.2K] HttpWriter.java │   ├── [7.7K] InclusiveByteRange.java │   ├── [1.9K] Iso88591HttpWriter.java │   ├── [4.0K] jmx │   │   ├── [1.8K] AbstractConnectorMBean.java │   │   ├── [ 893] package-info.java │   │   └── [1.8K] ServerMBean.java │   ├── [ 20K] LocalConnector.java │   ├── [ 20K] LowResourceMonitor.java │   ├── [2.1K] MultiPartCleanerListener.java │   ├── [1.4K] MultiPartFormDataCompliance.java │   ├── [5.0K] MultiParts.java │   ├── [6.1K] NCSARequestLog.java │   ├── [4.1K] NegotiatingServerConnectionFactory.java │   ├── [4.9K] NegotiatingServerConnection.java │   ├── [2.4K] NetworkConnector.java │   ├── [3.3K] NetworkTrafficServerConnector.java │   ├── [4.0K] nio │   │   ├── [2.2K] NetworkTrafficSelectChannelConnector.java │   │   └── [ 892] package-info.java │   ├── [5.3K] OptionalSslConnectionFactory.java │   ├── [ 882] package-info.java │   ├── [ 34K] ProxyConnectionFactory.java │   ├── [4.2K] ProxyCustomizer.java │   ├── [6.1K] PushBuilderImpl.java │   ├── [9.6K] PushBuilder.java │   ├── [1.5K] QuietServletException.java │   ├── [ 80K] Request.java │   ├── [1.4K] RequestLogCollection.java │   ├── [2.2K] RequestLog.java │   ├── [6.8K] RequestLogWriter.java │   ├── [4.0K] resource │   │   ├── [2.0K] ByteBufferRangeWriter.java │   │   ├── [2.8K] HttpContentRangeWriter.java │   │   ├── [3.9K] InputStreamRangeWriter.java │   │   ├── [1.5K] RangeWriter.java │   │   └── [5.1K] SeekableByteChannelRangeWriter.java │   ├── [4.3K] ResourceContentFactory.java │   ├── [ 31K] ResourceService.java │   ├── [ 42K] Response.java │   ├── [ 11K] ResponseWriter.java │   ├── [2.7K] SameFileAliasChecker.java │   ├── [ 16K] SecureRequestCustomizer.java │   ├── [1.2K] ServerConnectionStatistics.java │   ├── [ 23K] ServerConnector.java │   ├── [ 22K] Server.java │   ├── [2.1K] ServletAttributes.java │   ├── [5.3K] ServletRequestHttpWrapper.java │   ├── [3.4K] ServletResponseHttpWrapper.java │   ├── [4.0K] session │   │   ├── [3.7K] AbstractSessionCacheFactory.java │   │   ├── [ 29K] AbstractSessionCache.java │   │   ├── [1.6K] AbstractSessionDataStoreFactory.java │   │   ├── [8.0K] AbstractSessionDataStore.java │   │   ├── [2.1K] CachingSessionDataStoreFactory.java │   │   ├── [6.2K] CachingSessionDataStore.java │   │   ├── [8.2K] DatabaseAdaptor.java │   │   ├── [1.1K] DefaultSessionCacheFactory.java │   │   ├── [5.6K] DefaultSessionCache.java │   │   ├── [ 15K] DefaultSessionIdManager.java │   │   ├── [2.2K] FileSessionDataStoreFactory.java │   │   ├── [ 21K] FileSessionDataStore.java │   │   ├── [8.0K] HouseKeeper.java │   │   ├── [2.0K] JDBCSessionDataStoreFactory.java │   │   ├── [ 37K] JDBCSessionDataStore.java │   │   ├── [2.3K] NullSessionCacheFactory.java │   │   ├── [2.6K] NullSessionCache.java │   │   ├── [1.3K] NullSessionDataStoreFactory.java │   │   ├── [2.1K] NullSessionDataStore.java │   │   ├── [ 909] package-info.java │   │   ├── [ 978] SessionCacheFactory.java │   │   ├── [ 11K] SessionCache.java │   │   ├── [3.7K] SessionContext.java │   │   ├── [ 15K] SessionData.java │   │   ├── [ 964] SessionDataMapFactory.java │   │   ├── [2.1K] SessionDataMap.java │   │   ├── [1011] SessionDataStoreFactory.java │   │   ├── [2.4K] SessionDataStore.java │   │   ├── [ 59K] SessionHandler.java │   │   ├── [ 35K] Session.java │   │   ├── [1.7K] UnreadableSessionDataException.java │   │   └── [1.3K] UnwriteableSessionDataException.java │   ├── [3.5K] SessionIdManager.java │   ├── [ 13K] ShutdownMonitor.java │   ├── [2.0K] Slf4jRequestLog.java │   ├── [2.0K] Slf4jRequestLogWriter.java │   ├── [3.0K] SocketCustomizationListener.java │   ├── [5.8K] SslConnectionFactory.java │   ├── [3.2K] UserIdentity.java │   └── [6.4K] Utf8HttpWriter.java └── [4.0K] resources └── [4.0K] org └── [4.0K] eclipse └── [4.0K] jetty └── [1.1K] favicon.ico 30 directories, 236 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →