Skip to content
Cache bugs Disclosed report Advanced

HTTP/2 server push accepts a non-authoritative :scheme=https over cleartext h2c, enabling HTTPS cache-key poisoning

libcurl 8.19.0 accepts an HTTP/2 PUSH_PROMISE on a cleartext h2c connection that claims a :scheme of https, and builds the pushed handle's URL from the server-supplied scheme, authority and path. An attacker-controlled cleartext server can therefore make a pushed transfer appear as an https URL to the application, letting a push-enabled app cache attacker content under a trusted HTTPS key.

argareksapatii Follow

Originally disclosed on HackerOne

  • Disclosed after 3 days

Summary:

I found that libcurl 8.19.0 accepts an HTTP/2 pushed stream on a cleartext h2c connection even when the server sends :scheme=https in PUSH_PROMISE. In lib/http2.c, set_transfer_url() builds the pushed handle URL from the server-supplied :scheme, :authority, and :path, but PUSH_PROMISE validation only checks :authority and does not reject a non-authoritative pushed https origin. The accepted pushed handle is then exposed to the application and processed on the existing connection, and CURLINFO_EFFECTIVE_URL later returns the pushed URL from data->state.url. As a result, a cleartext h2c server can cause a pushed transfer to appear as https://... to the application even though the bytes arrived over cleartext HTTP/2. In the attached cache PoC, a libcurl-based application that opts into push stores attacker-controlled cleartext content under a trusted HTTPS cache key and later serves it from cache without a network fetch.

Affected version

Official curl 8.19.0 source release on Linux/Kali, built locally with HTTP/2 enabled.

curl 8.19.0 (Linux) libcurl/8.19.0 OpenSSL/3.5.5 zlib/1.3.1 brotli/1.2.0 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.2 libssh2/1.11.1 nghttp2/1.64.0 OpenLDAP/2.6.10 Release-Date: 2026-03-11

Relevant source locations in the official 8.19.0 source tree:

  • lib/http2.c:716 set_transfer_url() starts building the pushed URL
  • lib/http2.c:728 :scheme is copied into the pushed URL
  • lib/http2.c:1424 PUSH_PROMISE validation checks only :authority
  • lib/http2.c:819 the pushed handle is exposed to the application callback
  • lib/http2.c:839 the accepted pushed handle is added for processing
  • lib/multi.c:1676 the pushed handle is attached to the existing connection
  • lib/multi.c:934 data->conn = conn
  • lib/getinfo.c:91 CURLINFO_EFFECTIVE_URL returns data->state.url

Steps To Reproduce:

  1. Attach and extract the provided PoC bundle.
  2. Run the cache-poisoning server: python3 h2_push_cache_server.py 18080
  3. Run the cache-poisoning client: ./h2_push_cache_client_8190 http://trusted.example:18080/ trusted.example:18080:127.0.0.1
  4. Observe that the main request is cleartext HTTP/2 to http://trusted.example:18080/, but the push callback reports: effective_url=https://trusted.example:18080/pushed
  5. Observe the cache evidence: https://trusted.example:18080/pushed => ATTACKER-CONTROLLED-CLEARTEXT-PUSH
  6. Observe the final poisoned-cache reuse: POISONED CACHE HIT for trusted HTTPS key https://trusted.example:18080/pushed and TRUSTED PROCESSING of cached body: ATTACKER-CONTROLLED-CLEARTEXT-PUSH

The attached bundle also contains a simpler PoC that demonstrates the same primitive without the cache layer.

Impact

Summary:

By accepting a non-authoritative pushed HTTPS origin over cleartext h2c and surfacing it as an effective HTTPS URL, libcurl enables applications that opt into HTTP/2 push and cache pushed responses by CURLINFO_EFFECTIVE_URL to store attacker-controlled cleartext content under a trusted HTTPS cache key and later serve it without a network fetch. This is a concrete integrity impact, not just cosmetic metadata confusion. Server push is opt-in, but once enabled libcurl should enforce the HTTP/2 authority/origin boundary before exposing the pushed transfer to the application. I am requesting High severity because the attached PoC demonstrates concrete cache poisoning of a trusted HTTPS cache key, although I understand a more conservative Medium assessment.

The original report as published on HackerOne, by argareksapatii. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 7 min read.

Context

libcurl is the client-side transfer library behind curl. One of the HTTP/2 features it supports is server push: when an application opts in, a server can send a PUSH_PROMISE frame announcing a resource it expects the client to need, and libcurl creates a separate handle for that pushed transfer. The pushed handle is built from values the server supplies in the promise, and it is then exposed to the application through the push callback and processed on the existing connection.

The report concerns how libcurl 8.19.0 constructs and validates that pushed URL. In lib/http2.c, set_transfer_url() builds the pushed handle URL from the server-supplied :scheme, :authority and :path. The PUSH_PROMISE validation, however, only checks :authority. A pushed :scheme=https is therefore accepted even when the underlying connection is cleartext h2c, and the resulting handle is surfaced to the application as an https:// URL.

Setup

The testing was done against the official curl 8.19.0 source release on Linux/Kali, built locally with HTTP/2 enabled. The build reported itself as:

Text
curl 8.19.0 (Linux) libcurl/8.19.0 OpenSSL/3.5.5 zlib/1.3.1 brotli/1.2.0 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.2 libssh2/1.11.1 nghttp2/1.64.0 OpenLDAP/2.6.10
Release-Date: 2026-03-11

The relevant source locations in the official 8.19.0 tree are:

Location Role
lib/http2.c:716 set_transfer_url() starts building the pushed URL
lib/http2.c:728 :scheme is copied into the pushed URL
lib/http2.c:1424 PUSH_PROMISE validation checks only :authority
lib/http2.c:819 the pushed handle is exposed to the application callback
lib/http2.c:839 the accepted pushed handle is added for processing
lib/multi.c:1676 the pushed handle is attached to the existing connection
lib/multi.c:934 data->conn = conn
lib/getinfo.c:91 CURLINFO_EFFECTIVE_URL returns data->state.url

The precondition is an application that opts into HTTP/2 server push and, as the cache PoC does, keys cached responses by CURLINFO_EFFECTIVE_URL. The attacker side is a cleartext h2c server that the client connects to.

Finding it

A libcurl client on a cleartext h2c connection accepts a pushed stream even when the server sends :scheme=https in PUSH_PROMISE. The pushed handle URL is assembled from the server's :scheme, :authority and :path, but validation only looks at :authority, so a non-authoritative pushed https origin is not rejected.

The accepted handle is exposed to the application and processed on the existing connection, and CURLINFO_EFFECTIVE_URL later returns the pushed URL from data->state.url. The consequence is that a cleartext h2c server can make a pushed transfer appear as https://... to the application even though the bytes arrived over cleartext HTTP/2. That mismatch between the URL the application sees and the transport the bytes actually used is what makes the bug interesting: any application logic that trusts the scheme of the effective URL, such as a cache keyed on it, is now working with attacker-influenced metadata.

Exploitation

The report demonstrates the primitive with a cache-poisoning PoC: a libcurl-based application that opts into push stores attacker-controlled cleartext content under a trusted HTTPS cache key and later serves it from cache without a network fetch. The bundle also contains a simpler PoC that shows the same primitive without the cache layer.

Step 1: Attach and extract the PoC bundle

The provided PoC bundle is attached and extracted. The bundle contains the cache-poisoning server and client used below.

Step 2: Run the cache-poisoning server

Bash
python3 h2_push_cache_server.py 18080

This starts the cleartext h2c server on port 18080. It is the attacker-controlled side that will send the PUSH_PROMISE with :scheme=https.

Step 3: Run the cache-poisoning client

Bash
./h2_push_cache_client_8190 http://trusted.example:18080/ trusted.example:18080:[redacted]

The client makes its main request over cleartext HTTP/2 to http://trusted.example:18080/. The client is given the main URL and a second argument alongside it.

Step 4: Observe the push callback

The main request is cleartext HTTP/2 to http://trusted.example:18080/, but the push callback reports:

Text
effective_url=https://trusted.example:18080/pushed

This is the core of the bug: the pushed transfer is presented to the application as an HTTPS URL even though it arrived over the cleartext connection.

Step 5: Observe the cache evidence

The application stores the pushed response under the effective URL:

Text
https://trusted.example:18080/pushed => ATTACKER-CONTROLLED-CLEARTEXT-PUSH

Attacker-controlled cleartext content now sits under a trusted HTTPS cache key.

Step 6: Observe the poisoned-cache reuse

The final step shows the cache being reused without a network fetch:

Text
POISONED CACHE HIT for trusted HTTPS key https://trusted.example:18080/pushed

and

Text
TRUSTED PROCESSING of cached body: ATTACKER-CONTROLLED-CLEARTEXT-PUSH

The PoC prints TRUSTED PROCESSING of cached body: ATTACKER-CONTROLLED-CLEARTEXT-PUSH.

Root cause

The mistake is in the PUSH_PROMISE handling. set_transfer_url() in lib/http2.c builds the pushed handle URL from the server-supplied :scheme, :authority and :path, copying :scheme into the URL at lib/http2.c:728. The validation at lib/http2.c:1424 checks only :authority and does not reject a non-authoritative pushed https origin. Nothing ties the pushed :scheme to the scheme of the connection the promise arrived on, so a cleartext h2c connection can carry a promise that claims https.

The accepted handle is then exposed to the application callback at lib/http2.c:819 and added for processing at lib/http2.c:839. It is attached to the existing connection at lib/multi.c:1676 (data->conn = conn at lib/multi.c:934), so the pushed bytes are read from the same cleartext connection. Finally, CURLINFO_EFFECTIVE_URL at lib/getinfo.c:91 returns data->state.url, which is the URL built from the server-supplied scheme. The application therefore sees an HTTPS URL for a transfer that never used TLS.

Server push is opt-in, so the bug only matters for applications that enable it. But once enabled, libcurl should enforce the HTTP/2 authority/origin boundary before exposing the pushed transfer to the application.

Impact

By accepting a non-authoritative pushed HTTPS origin over cleartext h2c and surfacing it as an effective HTTPS URL, libcurl enables applications that opt into HTTP/2 push and cache pushed responses by CURLINFO_EFFECTIVE_URL to store attacker-controlled cleartext content under a trusted HTTPS cache key and later serve it without a network fetch. The researcher describes this as a concrete integrity impact, not just cosmetic metadata confusion.

The conditions are: the application must opt into server push, and it must trust the effective URL, for example as a cache key. Under those conditions, a cleartext h2c server can get attacker-controlled cleartext content served from the application's cache under an HTTPS key. The researcher requested High severity on the strength of the cache-poisoning PoC, while acknowledging that a more conservative Medium assessment is understandable.

Fix

The report does not describe a fix or a patch. It states that libcurl should enforce the HTTP/2 authority/origin boundary before exposing the pushed transfer to the application.

Variants to test

  1. Other scheme mismatches on cleartext connections. Send a PUSH_PROMISE with a scheme other than the connection's own on an h2c connection and check whether the push callback reports the claimed scheme. A positive result is an effective_url whose scheme does not match the transport.
  2. Authority handling in the promise. Vary :authority in the promise while keeping the connection cleartext, and observe whether the pushed handle is accepted and which host appears in the effective URL. A positive result is acceptance of an authority the client did not intend to trust.
  3. Cache keyed on effective URL. In an application that caches pushed responses by CURLINFO_EFFECTIVE_URL, check whether a pushed response from a cleartext connection is later served under an HTTPS key without a network fetch. A positive result is a cache hit for an HTTPS key whose body came from the cleartext push.
  4. Push without the cache layer. Use the simpler PoC pattern from the bundle to confirm the primitive on its own: a cleartext h2c server pushing a resource that the client reports as https://. A positive result is the same scheme mismatch in the callback with no caching involved.
  5. TLS connections. Repeat the promise with a scheme that does not match a TLS connection and check whether validation rejects it. A positive result would be acceptance of a mismatched scheme on a connection where the transport scheme is unambiguous.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 14 min read.

What happened, in plain words

A library called libcurl is the engine inside the curl command-line tool. Programmers also use libcurl directly inside their own programs to download things from the internet. It speaks many web protocols, including HTTP/2, a newer version of the language browsers and servers use to exchange web pages.

HTTP/2 has a feature called server push. Normally the client asks for something and the server answers. With push, the server can send extra files before they are asked for, because it expects the client will need them soon. Think of a waiter bringing bread to your table before you order, because almost everyone orders it. The server announces each pushed file with a small message called a PUSH_PROMISE frame. A frame is just one package of data inside an HTTP/2 conversation.

Each pushed file comes with three labels, called pseudo-headers:

  • :scheme, which says whether the file is meant to be fetched over http (plain, unencrypted) or https (encrypted with TLS).
  • :authority, which is the hostname and port, roughly the "which website" part.
  • :path, which is the part after the hostname, such as /pushed.

Put together, those three make a URL, for example https://trusted.example:18080/pushed.

The researcher found that libcurl 8.19.0 accepts a pushed :scheme=https without checking it against the cleartext connection. If a client is connected over h2c, which is HTTP/2 with no encryption at all, a malicious server can still label a pushed file as https. libcurl builds the URL from the server's labels, hands it to the application, and later reports it as the effective URL, meaning "the URL this transfer really came from". The application then sees https://... even though every byte travelled in the clear.

Why does that matter? Because many programs use the effective URL as a cache key, the label under which they store a downloaded file for reuse. If the label says https and names a trusted site, the program stores attacker content as if it were a trusted, encrypted download, and later serves it again without going to the network. That is called cache poisoning: putting bad content into a good slot.

Context

libcurl is the client-side transfer library behind curl. One of the HTTP/2 features it supports is server push: when an application opts in, a server can send a PUSH_PROMISE frame announcing a resource it expects the client to need, and libcurl creates a separate handle for that pushed transfer. A handle here is libcurl's internal object representing one transfer, like a job ticket for one download. The pushed handle is built from values the server supplies in the promise, and it is then exposed to the application through the push callback, a function the application registers so libcurl can tell it "here comes a pushed file". The accepted pushed handle is then processed on the existing connection.

The report concerns how libcurl 8.19.0 constructs and validates that pushed URL. In lib/http2.c, a function called set_transfer_url() builds the pushed handle URL from the server-supplied :scheme, :authority and :path. The PUSH_PROMISE validation, however, only checks :authority. A pushed :scheme=https is therefore accepted even when the underlying connection is cleartext h2c, and the resulting handle is surfaced to the application as an https:// URL.

In everyday terms: the bouncer at the door checks your name badge but never checks whether you actually came in through the staff entrance. The badge says "HTTPS", so everyone inside treats you as an encrypted, trusted visitor, even though you walked in through the open, unencrypted door.

Setup

The testing was done against the official curl 8.19.0 source release on Linux/Kali, built locally with HTTP/2 enabled. "Built locally" means the researcher compiled the program from its source code on their own machine, rather than installing a ready-made package. The build reported itself as:

Text
curl 8.19.0 (Linux) libcurl/8.19.0 OpenSSL/3.5.5 zlib/1.3.1 brotli/1.2.0 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.2 libssh2/1.11.1 nghttp2/1.64.0 OpenLDAP/2.6.10
Release-Date: 2026-03-11

This is the version banner curl prints when asked. Reading it left to right: the program is curl 8.19.0 on Linux; it uses libcurl 8.19.0; then comes a list of helper libraries it was compiled with, each with its own version number. OpenSSL handles encryption, nghttp2 handles HTTP/2, and the others handle compression, domain names, SSH and directory services. The release date is 2026-03-11. The point of showing this is so anyone can rebuild the exact same setup and check the result.

The relevant source locations in the official 8.19.0 tree are:

Location Role
lib/http2.c:716 set_transfer_url() starts building the pushed URL
lib/http2.c:728 :scheme is copied into the pushed URL
lib/http2.c:1424 PUSH_PROMISE validation checks only :authority
lib/http2.c:819 the pushed handle is exposed to the application callback
lib/http2.c:839 the accepted pushed handle is added for processing
lib/multi.c:1676 the pushed handle is attached to the existing connection
lib/multi.c:934 data->conn = conn
lib/getinfo.c:91 CURLINFO_EFFECTIVE_URL returns data->state.url

Each row is a file name, a line number and what happens there. lib/http2.c is the part of the code that speaks HTTP/2; lib/multi.c coordinates several transfers at once; lib/getinfo.c answers questions an application asks about a finished transfer. CURLINFO_EFFECTIVE_URL is the name of the question "what URL did this transfer really use?". data->state.url is the internal field where that URL is stored. The table is the map of the whole bug: where the URL is built, where it is barely checked, where it is handed over, and where it is reported back.

The precondition is an application that opts into HTTP/2 server push and, as the cache PoC does, keys cached responses by CURLINFO_EFFECTIVE_URL. A PoC, or proof of concept, is a small program written only to demonstrate that a bug is real. The attacker side is a cleartext h2c server that the client connects to.

Finding it

A libcurl client on a cleartext h2c connection accepts a pushed stream even when the server sends :scheme=https in PUSH_PROMISE. The pushed handle URL is assembled from the server's :scheme, :authority and :path, but validation only looks at :authority, so a non-authoritative pushed https origin is not rejected. "Non-authoritative" means the claim does not match who is actually allowed to speak for that origin.

The accepted handle is exposed to the application and processed on the existing connection, and CURLINFO_EFFECTIVE_URL later returns the pushed URL from data->state.url. The consequence is that a cleartext h2c server can make a pushed transfer appear as https://... to the application even though the bytes arrived over cleartext HTTP/2. That mismatch between the URL the application sees and the transport the bytes actually used is what makes the bug interesting: any application logic that trusts the scheme of the effective URL, such as a cache keyed on it, is now working with attacker-influenced metadata. Metadata is data about data: here, the label describing a download rather than its contents.

Exploitation

The report demonstrates the primitive with a cache-poisoning PoC: a libcurl-based application that opts into push stores attacker-controlled cleartext content under a trusted HTTPS cache key and later serves it from cache without a network fetch. A primitive in security writing is the smallest reliable building block an attacker gets from a bug; here, it is "make a cleartext push look like HTTPS". The bundle also contains a simpler PoC that shows the same primitive without the cache layer.

Step 1: Attach and extract the PoC bundle

The provided PoC bundle is attached and extracted. The bundle contains the cache-poisoning server and client used below. Extracting it first is simply so the two programs exist as files on disk before they are run.

Step 2: Run the cache-poisoning server

Bash
python3 h2_push_cache_server.py 18080

python3 runs the Python interpreter on the script h2_push_cache_server.py. h2_push_cache_server.py is the script file. 18080 is the port, a numbered door on the machine that network traffic can arrive at. This starts the cleartext h2c server on port 18080. It is the attacker-controlled side that will send the PUSH_PROMISE with :scheme=https.

Step 3: Run the cache-poisoning client

Bash
./h2_push_cache_client_8190 http://trusted.example:18080/ trusted.example:18080:[redacted]

Line by line: ./ means "the file in the current folder". h2_push_cache_client_8190 is the compiled PoC client, named after curl 8.19.0. The first argument, http://trusted.example:18080/, is the main URL to fetch: plain http, hostname trusted.example, port 18080, path /. The second argument, trusted.example:18080:[redacted], is passed alongside the main URL. [redacted] is the standard address a computer uses to talk to itself.

The client makes its main request over cleartext HTTP/2 to http://trusted.example:18080/.

Step 4: Observe the push callback

The main request is cleartext HTTP/2 to http://trusted.example:18080/, but the push callback reports:

Text
effective_url=https://trusted.example:18080/pushed

This is the core of the bug: the pushed transfer is presented to the application as an HTTPS URL even though it arrived over the cleartext connection. Compare the two URLs: the request was http://, the pushed file is reported as https://. The request was http://, the pushed file is reported as https://.

Step 5: Observe the cache evidence

The application stores the pushed response under the effective URL:

Text
https://trusted.example:18080/pushed => ATTACKER-CONTROLLED-CLEARTEXT-PUSH

Read the arrow as "is stored as". On the left is the cache key, an HTTPS URL for the trusted host. On the right is the body stored under that key. Attacker-controlled cleartext content now sits under a trusted HTTPS cache key. This step is included because it turns a confusing label into a concrete stored object that can be inspected.

Step 6: Observe the poisoned-cache reuse

The final step shows the cache being reused without a network fetch:

Text
POISONED CACHE HIT for trusted HTTPS key https://trusted.example:18080/pushed

and

Text
TRUSTED PROCESSING of cached body: ATTACKER-CONTROLLED-CLEARTEXT-PUSH

A cache hit means the program found the item in its local store and did not contact the network at all. The first line says the lookup used the trusted HTTPS key and succeeded. The second line says the program then handled the stored body as trusted content. The application treats the cached body as if it had been fetched over HTTPS from the trusted origin. The attacker's bytes are now served from the cache without a network fetch.

Root cause

The mistake is in the PUSH_PROMISE handling. set_transfer_url() in lib/http2.c builds the pushed handle URL from the server-supplied :scheme, :authority and :path, copying :scheme into the URL at lib/http2.c:728. The validation at lib/http2.c:1424 checks only :authority and does not reject a non-authoritative pushed https origin. Nothing ties the pushed :scheme to the scheme of the connection the promise arrived on, so a cleartext h2c connection can carry a promise that claims https.

The accepted handle is then exposed to the application callback at lib/http2.c:819 and added for processing at lib/http2.c:839. It is attached to the existing connection at lib/multi.c:1676 (data->conn = conn at lib/multi.c:934), so the pushed bytes are read from the same cleartext connection. data->conn = conn is a plain assignment: the transfer's connection pointer is set to the connection already in use. Finally, CURLINFO_EFFECTIVE_URL at lib/getinfo.c:91 returns data->state.url, which is the URL built from the server-supplied scheme. The application therefore sees an HTTPS URL for a transfer that never used TLS.

Server push is opt-in, so the bug only matters for applications that enable it. But once enabled, libcurl should enforce the HTTP/2 authority/origin boundary before exposing the pushed transfer to the application. An origin in web security is the combination of scheme, host and port; browsers and libraries use it to decide what may be trusted. The boundary here is the rule that a promise may not claim an origin the connection cannot actually vouch for.

Impact

By accepting a non-authoritative pushed HTTPS origin over cleartext h2c and surfacing it as an effective HTTPS URL, libcurl enables applications that opt into HTTP/2 push and cache pushed responses by CURLINFO_EFFECTIVE_URL to store attacker-controlled cleartext content under a trusted HTTPS cache key and later serve it without a network fetch. The researcher describes this as a concrete integrity impact, not just cosmetic metadata confusion. Integrity means the data can be altered without detection; the opposite concern, confidentiality, is about data being read by the wrong party.

The conditions are: the application must opt into server push, and it must trust the effective URL, for example as a cache key. Under those conditions, an attacker who controls or can influence the cleartext h2c server can get content of their choosing served from the application's cache under an HTTPS key. The researcher requested High severity on the strength of the cache-poisoning PoC, while acknowledging that a more conservative Medium assessment is understandable. Severity is the rough rating of how bad a bug is; the researcher explains their reasoning rather than just asserting a number.

Fix

The report does not describe a fix or a patch. It states that libcurl should enforce the HTTP/2 authority/origin boundary before exposing the pushed transfer to the application.

Variants to test

For each, the "positive result" is what would confirm the problem.

  1. Other scheme mismatches on cleartext connections. Send a PUSH_PROMISE with a scheme other than the connection's own on an h2c connection and check whether the push callback reports the claimed scheme. A positive result is an effective_url whose scheme does not match the transport.
  2. Authority handling in the promise. Vary :authority in the promise while keeping the connection cleartext, and observe whether the pushed handle is accepted and which host appears in the effective URL. A positive result is acceptance of an authority the client did not intend to trust.
  3. Cache keyed on effective URL. In an application that caches pushed responses by CURLINFO_EFFECTIVE_URL, check whether a pushed response from a cleartext connection is later served under an HTTPS key without a network fetch. A positive result is a cache hit for an HTTPS key whose body came from the cleartext push.
  4. Push without the cache layer. Use the simpler PoC pattern from the bundle to confirm the primitive on its own: a cleartext h2c server pushing a resource that the client reports as https://. A positive result is the same scheme mismatch in the callback with no caching involved.
  5. TLS connections. Repeat the promise with a scheme that does not match a TLS connection and check whether validation rejects it. A positive result would be acceptance of a mismatched scheme on a connection where the transport scheme is unambiguous.

Glossary

  • libcurl: the programming library that performs downloads; the engine inside the curl command-line tool.
  • curl: a command-line program for transferring data over network protocols.
  • HTTP/2: a version of the protocol browsers and servers use to exchange web content, allowing many requests over one connection.
  • h2c: HTTP/2 over a plain, unencrypted connection, with no TLS.
  • TLS: the encryption layer that makes https secure.
  • HTTPS: HTTP carried inside TLS, so the traffic is encrypted and the server's identity is checked.
  • Server push: an HTTP/2 feature where the server sends resources the client has not yet asked for.
  • PUSH_PROMISE: the HTTP/2 frame in which a server announces a pushed resource.
  • Frame: one package of data inside an HTTP/2 conversation.
  • Pseudo-header: a label in an HTTP/2 message starting with a colon, such as :scheme, :authority or :path.
  • :scheme: the pseudo-header saying whether a resource is meant to be http or https.
  • :authority: the pseudo-header holding the hostname and port.
  • :path: the pseudo-header holding the part of the URL after the hostname.
  • Handle: libcurl's internal object representing one transfer.
  • Push callback: the function an application registers so libcurl can tell it about a pushed resource.
  • Effective URL: the URL a transfer is reported to have really used, available through CURLINFO_EFFECTIVE_URL.
  • CURLINFO_EFFECTIVE_URL: the libcurl query that returns the effective URL of a transfer.
  • Cache: a local store of previously fetched content, reused to avoid downloading again.
  • Cache key: the label under which an item is stored in a cache.
  • Cache poisoning: putting attacker-controlled content into a cache under a label that makes it look trustworthy.
  • Cache hit: a lookup that finds the item in the cache, so no network request is made.
  • PoC (proof of concept): a small program written only to demonstrate that a bug is real.
  • Primitive: the smallest reliable building block an attacker gains from a bug.
  • Metadata: data about data; here, the label describing a download rather than its contents.
  • Origin: the combination of scheme, host and port that web security uses to decide what may be trusted.
  • Non-authoritative: a claim that does not match who is actually allowed to speak for that origin.
  • Port: a numbered door on a machine that network traffic can arrive at.
  • [redacted]: the standard address a computer uses to talk to itself.
  • Integrity: the property that data has not been altered without detection.
  • Severity: a rough rating of how bad a bug is.
  • Variant: a follow-up test that checks whether the same weakness appears in a slightly different shape.

More by argareksapatii

View all

3 more disclosed reports, best first.

More from curl

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Web cache poisoning and deception

The lesson behind this report.

A cache and the origin disagree about a request, so a poisoned response is served to everyone or a private page is stored as public.