cve.bz

CAPEC-85

AJAX Footprinting

Low severityHigh likelihoodDetailed pattern

This attack utilizes the frequent client-server roundtrips in Ajax conversation to scan a system. While Ajax does not open up new vulnerabilities per se, it does optimize them from an attacker point of view. A common first step for an attacker is to footprint the target environment to understand what attacks will work. Since footprinting relies on enumeration, the conversational pattern of rapid, multiple requests and responses that are typical in Ajax applications enable an attacker to look for many vulnerabilities, well-known ports, network locations and so on. The knowledge gained through Ajax fingerprinting can be used to support other attacks, such as XSS.

On this page

Ask an AI about this attack pattern

Show the promptExplain the attack pattern CAPEC-85: AJAX Footprinting: how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/85.html and https://cve.bz/cve/capec/85?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. [Send request to target webpage and analyze HTML] Using a browser or an automated tool, an adversary sends requests to a webpage and records the received HTML response. Adversaries then analyze the HTML to identify any known underlying JavaScript architectures. This can aid in mappiong publicly known vulnerabilities to the webpage and can also helpo the adversary guess application architecture and the inner workings of a system.

      1 technique
      • Record all "src" values inside script tags. These JavaScript files are compared to lists of files for known architectures. If there is a large match between the "src" values and architecture files, then it can be assumed that particular architecture is being used.

Prerequisites

  • The user must allow JavaScript to execute in their browser

Skills required

  • Medium skill

    To land and launch a script on victim's machine with appropriate footprinting logic for enumerating services and vulnerabilities in JavaScript

Resources required

  • None: No specialized resources are required to execute this type of attack.

Consequences

What a successful attack can lead to
ImpactAffectsNote
Read DataConfidentiality

Mitigations

  • Design: Use browser technologies that do not allow client side scripting.

  • Implementation: Perform input validation for all remote content.

Weaknesses it exploits

  • CWE-20 Improper Input Validation
  • CWE-79 Improper Neutralization of Input During Web Page Generation
  • CWE-86 Improper Neutralization of Invalid Characters in Identifiers in Web Pages
  • CWE-96 Improper Neutralization of Directives in Statically Saved Code
  • CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers
  • CWE-116 Improper Encoding or Escaping of Output
  • CWE-184 Incomplete List of Disallowed Inputs
  • CWE-348 Use of Less Trusted Source
  • CWE-692 Incomplete Denylist to Cross-Site Scripting

Recent CVEs with these weaknesses

  1. 7.2CVE-2026-135621

    The WP Express Checkout plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wpec_data' (and 'data') parameters in versions up to, and including, 2.5.5 This is due to insufficient input sanitization and output escapin…

  2. 5.4CVE-2026-118699

    The WP Express Checkout (Fast Payments via PayPal & Stripe) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wp_ppdg_payment[payer][name][given_name]' parameter in all versions up to, and including, 2.5.5 due to i…

  3. 2.0CVE-2026-140057

    A vulnerability was detected in yangzongzhuan RuoYi up to 4.8.3. The impacted element is an unknown function of the file ruoyi-admin/src/main/resources/templates/system/menu/menu.html of the component Menu Management. The manipulation of t…

  4. 2.0CVE-2026-140056

    A security vulnerability has been detected in yangzongzhuan RuoYi up to 4.8.3. The affected element is the function menuItem of the file ruoyi-admin/src/main/resources/static/ruoyi/index.js of the component Menu Management Sidebar Tab Rend…

  5. 6.4CVE-2026-133420

    The WP Job Portal – AI-Powered Recruitment System for Company or Job Board website plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'category' parameter in all versions up to, and including, 2.9.1 due to insufficie…

  6. 6.4CVE-2026-132227

    The ShopLentor – All-in-One WooCommerce Growth & Store Enhancement Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'customlabel_days' parameter in all versions up to, and including, 3.5.9 due to insufficien…

  7. 5.5CVE-2026-139984

    A weakness has been identified in walinejs Waline up to 1.43.6. The affected element is an unknown function of the component OAuth Login Callback Handler. Executing a manipulation of the argument Type can lead to improper input validation.…

  8. 3.7CVE-2026-140099

    Forge, also called node-forge, is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.4, pki.privateKeyFromPem() and pki.privateKeyFromAsn1() ignore the RSAPrivateKey version and otherPrimeInfos fields and inter…

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

Part of
Can lead to

Examples

Footprinting can be executed over almost any protocol including HTTP, TCP, UDP, and ICMP, with the general go…

Footprinting can be executed over almost any protocol including HTTP, TCP, UDP, and ICMP, with the general goal of gaining further information about a host environment to launch further attacks. The attacker can probe the system for banners, vulnerabilities, filenames, available services, and in short anything the host process has access to. The results of the probe are either used to execute javascript (for example, if the attackers' footprint script identifies a vulnerability in a firewall permission, then the client side script executes a javascript to change client firewall settings, or an attacker may simply echo the results of the scan back out to a remote host for targeting future attacks) or to inform other data gathering activities in order to craft atta.

MITRE's words, unchanged: CAPEC-85 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.