cve.bz

CAPEC-462

Cross-Domain Search Timing

Medium severityDetailed pattern

An attacker initiates cross domain HTTP / GET requests and times the server responses. The timing of these responses may leak important information on what is happening on the server. Browser's same origin policy prevents the attacker from directly reading the server responses (in the absence of any other weaknesses), but does not prevent the attacker from timing the responses to requests that the attacker issued cross domain.

On this page

For GET requests an attacker could for instance leverage the "img" tag in conjunction with "onload() / onerror()" javascript events. For the POST requests, an attacker could leverage the "iframe" element and leverage the "onload()" event. There is nothing in the current browser security model that prevents an attacker to use these methods to time responses to the attackers' cross domain requests. The timing for these responses leaks information. For instance, if a victim has an active session with their online e-mail account, an attacker could issue search requests in the victim's mailbox. While the attacker is not able to view the responses, based on the timings of the responses, the attacker could ask yes / no questions as to the content of victim's e-mails, who the victim e-mailed, when, etc. This is but one example; There are other scenarios where an attacker could infer potentially sensitive information from cross domain requests by timing the responses while asking the right questions that leak information.

Ask an AI about this attack pattern

Show the promptExplain the attack pattern CAPEC-462: Cross-Domain Search Timing: how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/462.html and https://cve.bz/cve/capec/462?via=ask-ai-copy, which lists recent CVEs with the weaknesses it exploits. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this attack pattern's id and public links.

How the attack unfolds

  1. Explore

    The attacker looks for a way in.

    1. [Determine service to send cross domain requests to] The adversary first determines which service they will be sending the requests to

  2. Experiment

    They probe what they found.

    1. [Send and time various cross domain requests] Adversaries will send a variety of cross domain requests to the target, timing the time it takes for the target to respond. Although they won't be able to read the response, the adversary can use the time to infer information about what the service did upon receiving the request.

      2 techniques
      • Using a GET request, leverage the "img" tag in conjunction with "onload() / onerror()" javascript events to time a response
      • Using a POST request, leverage the "iframe" element and use the "onload()" event to time a response
  3. Exploit

    They carry out the attack.

    1. [Infer information from the response time] After obtaining reponse times to various requests, the adversary will compare these times and infer potentially sensitive information. An example of this could be asking a service to retrieve information and random usernames. If one request took longer to process, it is likely that a user with that username exists, which could be useful knowledge to an adversary.

      1 technique
      • Compare timing of different requests to infer potentially sensitive information about a target service

Prerequisites

  • Ability to issue GET / POST requests cross domainJava Script is enabled in the victim's browserThe victim has an active session with the site from which the attacker would like to receive informationThe victim's site does not protect search functionality with cross site request forgery (CSRF) protection

Skills required

  • Low skill

    Some knowledge of Java Script

Resources required

  • Ability to issue GET / POST requests cross domain

Consequences

What a successful attack can lead to
ImpactAffectsNote
Read DataConfidentiality

Mitigations

  • Design: The victim's site could protect all potentially sensitive functionality (e.g. search functions) with cross site request forgery (CSRF) protection and not perform any work on behalf of forged requests

  • Design: The browser's security model could be fixed to not leak timing information for cross domain requests

Weaknesses it exploits

Recent CVEs with these weaknesses

  1. 6.8CVE-2026-109099

    A post-authentication cross-site request forgery (CSRF) vulnerability in the password change CGI program of Zyxel GS1200-5v3 switch firmware versions through 1.00(ACPS.4)C0 could allow a LAN-based authenticated attacker with administrator’…

  2. 6.0CVE-2026-139999

    React Router is a router for React. From 7.12.0 until 7.18.3 and 8.3.1, React Router's server-side origin validation may allow cross-site request forgery in Framework, unstable RSC Data, and unstable RSC Framework modes. Exploitation depen…

  3. –CVE-2026-133638

    Cross-site request forgery (CSRF) vulnerability in Apache Struts. If the application uses the Execute and Wait Interceptor, a request to such an action could cause the Token Interceptor and the Token Session Interceptor to accept a token t…

  4. 4.3CVE-2026-129004

    Cross-Site Request Forgery (CSRF) vulnerability in iHomefinder, Inc. Optima Express optima-express allows Cross Site Request Forgery.This issue affects Optima Express: from n/a through 9.0.2.

  5. –CVE-2026-86549

    Cross-Site request forgery (CSRF) vulnerability in Apache OpenMeetings. This issue affects Apache OpenMeetings: from 4.0.0 before 9.2.0. Apache OpenMeetings Docker: from 5.1.0 before 9.2.0. When OAuth2 login is enabled,  `state` valu…

  6. 2.1CVE-2026-138337

    A vulnerability was found in jarun buku up to 5.1. Affected by this issue is the function BookmarkModelView of the file bukuserver/views.py. Performing a manipulation results in cross-site request forgery. It is possible to initiate the at…

  7. –CVE-2026-130488

    PAGI::FastAPI versions from 1.0.0 before 1.4.0 for Perl serve requests without registered authentication or CSRF middleware in applications built with to_app. add_middleware keeps middleware objects in a separate stack. These include PAGI…

  8. 2.1CVE-2026-138081

    A flaw has been found in alexta69 MeTube up to 2026.09.23. This affects the function _read_json_request of the file /add of the component State-Changing HTTP Endpoint. This manipulation causes cross-site request forgery. Remote exploitatio…

The newest records naming one of them. Each weakness's page lists them all.

Part of

MITRE's words, unchanged: CAPEC-462 at MITRE. CAPEC is Copyright © 2007–2026, The MITRE Corporation, used under the CAPEC terms of use: “The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use Common Attack Pattern Enumeration and Classification (CAPEC™) for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE’s copyright designation and this license in any such copy.” CAPEC and the CAPEC logo are trademarks of The MITRE Corporation. Credits. All attack patterns.