☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 8.3 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 🐛 CWE-122
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2023-37295

CVE-2023-37295 Memory Corruption in Ami
📅 PUBLISHED: 2024-01-09 22:19 UTC 🔄 UPDATED: 2026-08-12 14:53 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.04%
👁️
0.04% probability
<1× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 8.3
AV: A Attack Vector Adjacent
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: H Availability High
8.3
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2023-37295 is a critical heap memory corruption vulnerability in AMI’s SPx Baseboard Management Controller (BMC) firmware. An unauthenticated attacker on the adjacent network can exploit this flaw to corrupt heap memory, potentially leading to full compromise of the BMC’s confidentiality, integrity, and availability. The vulnerability has a CVSS score of 8.3 (High) and currently has no known patch or public proof-of-concept exploit. Given the BMC’s role in remote server management, successful exploitation could allow an attacker to gain persistent, stealthy control over the host system, bypassing operating system security controls.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability is not related to NPM, PyPI, Go, or Ruby packages. It affects embedded firmware (AMI SPx) used in server motherboards and BMCs. The supply chain risk is significant as the vulnerability exists in a foundational hardware management component, potentially affecting multiple server vendors that integrate AMI BMC firmware.

CVSS Breakdown & Threat Level

  • CVSS Score: 8.3 (High)
  • Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Attack Vector (AV): Adjacent Network (AV:A) – The attacker must be on the same network segment as the vulnerable BMC.
  • Attack Complexity (AC): Low (AC:L) – No special conditions required for exploitation.
  • Privileges Required (PR): None (PR:N) – No authentication needed.
  • User Interaction (UI): None (UI:N) – No user action required.
  • Scope (S): Unchanged (S:U) – The vulnerability does not affect resources beyond the BMC.
  • Confidentiality (C): High (C:H) – Full read access to BMC memory and potentially host data.
  • Integrity (I): High (I:H) – Full write access to BMC memory and firmware.
  • Availability (A): High (A:H) – Potential denial of service or complete BMC crash.

Threat Level: Critical. The combination of low attack complexity, no privileges required, and high impact makes this a severe threat to any organization using AMI SPx-based BMCs.

Deep Dive & Mechanics

The vulnerability resides in the BMC’s network stack, specifically in how it handles incoming network packets. A heap memory corruption occurs when the BMC processes a specially crafted packet, likely due to a buffer overflow or use-after-free condition in the memory allocation routines. The heap is a dynamic memory region used for runtime data structures; corrupting it can lead to arbitrary code execution, data leakage, or denial of service.

Attack Vector: The attacker sends a malicious network packet (e.g., IPMI, RMCP+, or HTTP/HTTPS) to the BMC’s management interface. The packet triggers a flaw in the parsing logic, causing the BMC to write data beyond the allocated heap buffer. This overwrites adjacent heap metadata or other objects, leading to memory corruption.

Potential Exploitation Path:

  1. Reconnaissance: Scan for BMCs on the adjacent network (e.g., using Shodan dorks like "BMC" "AMI").
  2. Crafting Payload: Develop a packet that triggers the heap corruption. This may involve sending a large payload or a specific sequence of bytes.
  3. Triggering the Vulnerability: Send the malicious packet to the BMC’s IP address on the management port (e.g., port 623 for IPMI, port 443 for web interface).
  4. Post-Exploitation: Once code execution is achieved, the attacker can install persistent backdoors, exfiltrate host data, or pivot to the host operating system.

Vulnerable vs. Patched Code

Since no patch is available, a direct code comparison is not possible. However, based on the vulnerability type (heap corruption), the vulnerable code likely involves:

  • Vulnerable: A function that copies user-supplied data into a fixed-size heap buffer without proper bounds checking.
    void process_packet(char *data, int len) {
        char *buffer = malloc(256);
        memcpy(buffer, data, len); // No bounds check
    }
    
  • Patched (Hypothetical): The same function with proper length validation.
    void process_packet(char *data, int len) {
        char *buffer = malloc(256);
        if (len > 256) {
            // Handle error
            return;
        }
        memcpy(buffer, data, len);
    }
    

Exploitation & Lab Setup

Red Team (Offensive)

Lab Environment:

  • Target: A server with AMI SPx BMC (e.g., Supermicro, ASRock Rack, Gigabyte) on an isolated network.
  • Attacker: Kali Linux machine on the same subnet.
  • Tools: Python, Scapy, Metasploit (if module available), custom exploit script.

Exploitation Steps:

  1. Identify BMC: Use nmap -p 623,443,80 <subnet> to find BMCs.
  2. Craft Malicious Packet: Since no public exploit exists, a custom script is needed. Below is a conceptual Python script using Scapy to send a malformed IPMI packet.
    from scapy.all import *
    import struct
    
    # Craft a malformed IPMI RMCP+ packet
    # This is a placeholder; actual exploit would require reverse engineering
    packet = IP(dst="192.168.1.100")/UDP(sport=623, dport=623)/Raw(load=b"A"*1000)
    send(packet, iface="eth0")
    
  3. Trigger Vulnerability: Send the packet repeatedly or with specific payload.
  4. Post-Exploitation: If successful, gain shell access via a reverse shell or backdoor.

Blue Team (Defensive)

Detection & Response:

  • Network Monitoring: Monitor for anomalous traffic to BMC ports (623, 443, 80, 5900). Look for large or malformed packets.
  • Host Monitoring: Check BMC logs for crashes or unexpected reboots.
  • Firmware Integrity: Regularly verify BMC firmware checksums and compare with known good versions.
  • Segmentation: Isolate BMC management network from production and user networks.

Hunting Queries:

  • Suricata Rule: (See Detection Engineering)
  • Sigma Rule: (See Detection Engineering)

Indicators of Compromise (IOCs)

  • Network IOCs:
    • Unusually large UDP packets to port 623 (IPMI).
    • Repeated connection attempts to BMC web interface (port 443) with malformed HTTP requests.
    • Traffic from unexpected IPs to BMC management ports.
  • Host IOCs:
    • BMC system logs showing "heap corruption" or "memory error" messages.
    • Unexpected BMC reboots or crashes.
    • New processes or services running on the BMC (if accessible via SSH).
  • File IOCs:
    • Modified BMC firmware files (if accessible).
    • Presence of unknown binaries in BMC filesystem.

Detection Engineering

YARA Rule

rule CVE_2023_37295_Heap_Corruption {
    meta:
        description = "Detects potential heap corruption exploit attempts against AMI SPx BMC"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2023-37295"
    strings:
        $s1 = "AMI" ascii wide nocase
        $s2 = "BMC" ascii wide nocase
        $s3 = "heap" ascii wide nocase
        $s4 = "corruption" ascii wide nocase
    condition:
        any of ($s1, $s2) and any of ($s3, $s4)
}

Sigma Rule

title: CVE-2023-37295 AMI SPx BMC Heap Corruption Attempt
id: 8a9b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
status: experimental
description: Detects network traffic targeting AMI BMC with potential heap corruption payloads
author: Valters IT
logsource:
    category: network_connection
    product: suricata
detection:
    selection:
        dest_port:
            - 623
            - 443
            - 80
        ip_protocol: udp
        packet_length: '> 1000'
    condition: selection
falsepositives:
    - Legitimate large IPMI packets (rare)
level: high

Suricata Rule

alert udp $EXTERNAL_NET any -> $HOME_NET 623,443,80 (msg:"CVE-2023-37295 AMI SPx BMC Heap Corruption Attempt"; content:"|41 41 41 41|"; depth:100; pcre:"/^.{1000,}/R"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Network Segmentation: Place BMCs on a dedicated, isolated management VLAN with strict firewall rules.
  2. Disable Unused Services: If not required, disable IPMI over LAN, web interface, or other network services on the BMC.
  3. Monitor Logs: Enable and monitor BMC syslog for anomalies.
  4. Apply Workarounds: If available, use vendor-specific mitigations (e.g., IPMI filtering, access control lists).

Long-Term Fix:

  • Patch: Await an official firmware update from AMI or the server vendor. Contact support for ETA.
  • Replace Hardware: If no patch is forthcoming, consider replacing BMCs with patched alternatives.
  • Vendor Communication: Engage with AMI and server OEMs to prioritize a fix.

Valters IT Signature This report was generated by Valters IT DevSecOps AI. For questions, contact security@valters-it.com.

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

AMI SPx

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2023-37295/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.