CVE-2023-29193 Vulnerability Analysis & Exploit Details

CVE-2023-29193
Vulnerability Scoring

8.7
/10
Severe Risk

Cybersecurity professionals consider CVE-2023-29193 an immediate threat requiring urgent mitigation.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Adjacent_network
    Attack Vector Under Analysis
  • Privileges Required: Low
    Some privileges are necessary to exploit the vulnerability.
  • Scope: Changed
    Successful exploitation can impact components beyond the vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2023-29193 Details

Status: Modified

Last updated: 🕢 21 Nov 2024, 07:56 UTC
Originally published on: 🕗 14 Apr 2023, 20:15 UTC

Time between publication and last update: 586 days

CVSS Release: version 3

CVSS3 Source

security-advisories@github.com

CVSS3 Type

Secondary

CVSS3 Vector

CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

CVE-2023-29193 Vulnerability Summary

CVE-2023-29193: SpiceDB is an open source, Google Zanzibar-inspired, database system for creating and managing security-critical application permissions. The `spicedb serve` command contains a flag named `--grpc-preshared-key` which is used to protect the gRPC API from being accessed by unauthorized requests. The values of this flag are to be considered sensitive, secret data. The `/debug/pprof/cmdline` endpoint served by the metrics service (defaulting running on port `9090`) reveals the command-line flags provided for debugging purposes. If a password is set via the `--grpc-preshared-key` then the key is revealed by this endpoint along with any other flags provided to the SpiceDB binary. This issue has been fixed in version 1.19.1. ### Impact All deployments abiding by the recommended best practices for production usage are **NOT affected**: - Authzed's SpiceDB Serverless - Authzed's SpiceDB Dedicated - SpiceDB Operator Users configuring SpiceDB via environment variables are **NOT affected**. Users **MAY be affected** if they expose their metrics port to an untrusted network and are configuring `--grpc-preshared-key` via command-line flag. ### Patches TODO ### Workarounds To workaround this issue you can do one of the following: - Configure the preshared key via an environment variable (e.g. `SPICEDB_GRPC_PRESHARED_KEY=yoursecret spicedb serve`) - Reconfigure the `--metrics-addr` flag to bind to a trusted network (e.g. `--metrics-addr=localhost:9090`) - Disable the metrics service via the flag (e.g. `--metrics-enabled=false`) - Adopt one of the recommended deployment models: [Authzed's managed services](https://authzed.com/pricing) or the [SpiceDB Operator](https://github.com/authzed/spicedb-operator) ### References - [GitHub Security Advisory issued for SpiceDB](https://github.com/authzed/spicedb/security/advisories/GHSA-cjr9-mr35-7xh6) - [Go issue #22085](https://github.com/golang/go/issues/22085) for documenting the risks of exposing pprof to the internet - [Go issue #42834](https://github.com/golang/go/issues/42834) discusses preventing pprof registration to the default serve mux - [semgrep rule go.lang.security.audit.net.pprof.pprof-debug-exposure](https://semgrep.dev/r?q=go.lang.security.audit.net.pprof) checks for a variation of this issue ### Credit We'd like to thank Amit Laish, a security researcher at GE Vernova for responsibly disclosing this vulnerability.

Assessing the Risk of CVE-2023-29193

Access Complexity Graph

The exploitability of CVE-2023-29193 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2023-29193

CVE-2023-29193 presents an accessible attack vector with minimal effort required. Restricting access controls and implementing security updates are critical to reducing exploitation risks.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2023-29193, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2023-29193, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: High
    Exploiting CVE-2023-29193 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: High
    CVE-2023-29193 could allow unauthorized modifications to data, potentially affecting system reliability and trust.
  • Availability: None
    CVE-2023-29193 does not impact system availability.

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.141% (probability of exploit)

EPSS Percentile: 51.17% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 48.83% of others.

CVE-2023-29193 References

External References

CWE Common Weakness Enumeration

CWE-209

CAPEC Common Attack Pattern Enumeration and Classification

  • Fuzzing for application mapping CAPEC-215 An attacker sends random, malformed, or otherwise unexpected messages to a target application and observes the application's log or error messages returned. The attacker does not initially know how a target will respond to individual messages but by attempting a large number of message variants they may find a variant that trigger's desired behavior. In this attack, the purpose of the fuzzing is to observe the application's log and error messages, although fuzzing a target can also sometimes cause the target to enter an unstable state, causing a crash.
  • Padding Oracle Crypto Attack CAPEC-463 An adversary is able to efficiently decrypt data without knowing the decryption key if a target system leaks data on whether or not a padding error happened while decrypting the ciphertext. A target system that leaks this type of information becomes the padding oracle and an adversary is able to make use of that oracle to efficiently decrypt data without knowing the decryption key by issuing on average 128*b calls to the padding oracle (where b is the number of bytes in the ciphertext block). In addition to performing decryption, an adversary is also able to produce valid ciphertexts (i.e., perform encryption) by using the padding oracle, all without knowing the encryption key.
  • Query System for Information CAPEC-54 An adversary, aware of an application's location (and possibly authorized to use the application), probes an application's structure and evaluates its robustness by submitting requests and examining responses. Often, this is accomplished by sending variants of expected queries in the hope that these modified queries might return information beyond what the expected set of queries would provide.
  • Blind SQL Injection CAPEC-7 Blind SQL Injection results from an insufficient mitigation for SQL Injection. Although suppressing database error messages are considered best practice, the suppression alone is not sufficient to prevent SQL Injection. Blind SQL Injection is a form of SQL Injection that overcomes the lack of error messages. Without the error messages that facilitate SQL Injection, the adversary constructs input strings that probe the target through simple Boolean SQL expressions. The adversary can determine if the syntax and structure of the injection was successful based on whether the query was executed or not. Applied iteratively, the adversary determines how and where the target is vulnerable to SQL Injection.

Vulnerable Configurations

  • cpe:2.3:a:authzed:spicedb:0.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:0.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:0.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:0.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:0.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:0.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.6.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.8.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.9.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.10.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.11.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.11.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.12.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.12.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.13.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.13.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.14.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.14.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.14.1:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.14.1:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.15.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.15.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.16.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.16.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.16.1:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.16.1:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.16.2:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.16.2:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.17.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.17.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.18.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.18.0:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.18.1:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.18.1:*:*:*:*:*:*:*
  • cpe:2.3:a:authzed:spicedb:1.19.0:*:*:*:*:*:*:*
    cpe:2.3:a:authzed:spicedb:1.19.0:*:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2023-29193: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2024-43107 – Improper Certificate Validation (CWE-295) in the Gallagher Milestone Integration Plugin (MIP) permits unauthenticated messages (e.g. alarm events) ...
  • CVE-2024-41724 – Improper Certificate Validation (CWE-295) in the Gallagher Command Centre SALTO integration allowed an attacker to spoof the SALTO server. Thi...
  • CVE-2025-2133 – A vulnerability classified as problematic was found in ftcms 2.1. Affected by this vulnerability is an unknown functionality of the file /admin/ind...
  • CVE-2025-2132 – A vulnerability classified as critical has been found in ftcms 2.1. Affected is an unknown function of the file /admin/index.php/web/ajax_all_lists...
  • CVE-2025-2131 – A vulnerability was found in dayrui XunRuiCMS up to 4.6.3. It has been rated as problematic. This issue affects some unknown processing of the comp...