cve.bz

CAPEC-694

System Location Discovery

Very Low severityHigh likelihoodStandard pattern

An adversary collects information about the target system in an attempt to identify the system's geographical location.

Information gathered could include keyboard layout, system language, and timezone. This information may benefit an adversary in confirming the desired target and/or tailoring further attacks.

On this page

Ask an AI about this attack pattern

Show the promptExplain the attack pattern CAPEC-694: System Location Discovery: how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/694.html and https://cve.bz/cve/capec/694?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. [System Locale Information Discovery] The adversary examines system information from various sources such as registry and native API functions and correlates the gathered information to infer the geographical location of the target system

      3 techniques
      • Registry Query: Query the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex\Language\Language_Dialect on Windows to obtain system language, Computer\HKEY_CURRENT_USER\Keyboard Layout\Preload to obtain the hexadecimal language IDs of the current user's preloaded keyboard layouts, and Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation to obtain the system timezone configuration
      • Native API Requests: Parse the outputs of Windows API functions GetTimeZoneInformation, GetUserDefaultUILanguage, GetSystemDefaultUILanguage, GetKeyboardLayoutList and GetUserDefaultLangID to obtain information about languages, keyboard layouts, and timezones installed on the system or on macOS or Linux systems, query locale to obtain the $LANG environment variable and view keyboard layout information or use timeanddatectl status to show the system clock settings.
      • Read Configuration Files: For macOS and Linux-based systems, view the /etc/vconsole.conf file to get information about the keyboard mapping and console font.

Prerequisites

  • The adversary must have some level of access to the system and have a basic understanding of the operating system in order to query the appropriate sources for relevant information.

Skills required

  • Low skill

    The adversary must know how to query various system sources of information respective of the system's operating system to obtain the relevant information.

Resources required

  • The adversary requires access to the target's operating system tools to query relevant system information. On windows, registry queries can be conducted with powershell, wmi, or regedit. On Linux or macOS, queries can be performed with through a shell.

Consequences

What a successful attack can lead to
ImpactAffectsNote
Read DataConfidentiality

Mitigations

  • To reduce the amount of information gathered, one could disable various geolocation features of the operating system not required for system operation.

Weaknesses it exploits

  • CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere

Recent CVEs with these weaknesses

  1. 2.3CVE-2026-138375

    AsyncSSH 2.20.0 before 2.24.2 contains an information disclosure vulnerability in SSHConfig._expand_val that expands ${NAME} references inside substituted host or user names. Attackers supplying unvalidated host or user names to connect() …

  2. 6.9CVE-2026-137571

    Iceburg CRM through 5.0.0 contains an information disclosure vulnerability that allows unauthenticated attackers to view server configuration through public/v.php calling phpinfo(). Attackers can request v.php directly, bypassing Laravel r…

  3. 6.3CVE-2026-131867

    GitLab has remediated an issue in GitLab CE/EE affecting all versions from 19.0 before 19.4.11, 19.5 before 19.5.9, and 19.6 before 19.6.2 that on instances with incoming email enabled could have allowed an authenticated user with CI job a…

  4. 4.3CVE-2026-133917

    Elasticsearch ES|QL query responses can disclose dataset storage locations and provider identity details to users who are allowed to query a dataset but cannot read its definition. Storage paths and storage-client error text can appear in …

  5. 6.7CVE-2026-28235

    Improper address validation in the AMD RAID Configuration Driver could allow an attacker with administrative access to read arbitrary kernel memory, potentially resulting in loss of confidentiality.

  6. 5.3CVE-2026-14915

    Exposure of sensitive system information to an unauthorized control sphere vulnerability in Tegsoft Yönetim ve Bilişim Hizmetleri Tic. Ltd. Şti. Tegsoft İletişim Merkezi allows Query System for Information. This issue affects Tegsoft İlet…

  7. 6.9CVE-2026-120271

    InfoScan contains an unauthenticated information disclosure vulnerability in its mobile-enumeration and version-reporting endpoints. A remote attacker can send HTTP requests without authentication to retrieve system configuration informati…

  8. 6.9CVE-2026-120157

    The publicly distributed InfoScan Electron installer contains configuration files identifying hostnames associated with customer installations and internal development, testing, and database infrastructure. An individual who obtains and in…

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

Part of

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