cbcvebase.
CVE-2007-3614
published 2007-07-06

CVE-2007-3614: Multiple stack-based buffer overflows in waHTTP.exe (aka the SAP DB Web Server) in SAP DB, possibly 7.3 through 7.5, allow remote attackers to execute…

PriorityP265high7.5CVSS 2.0
AVNACLAuNCPIPAP
EXPLOIT
EPSS
70.00%
99.3th percentile
Multiple stack-based buffer overflows in waHTTP.exe (aka the SAP DB Web Server) in SAP DB, possibly 7.3 through 7.5, allow remote attackers to execute arbitrary code via (1) a certain cookie value; (2) a certain additional parameter, related to sapdbwa_GetQueryString; and other unspecified vectors related to "numerous other fields."

Affected

8 ranges
VendorProductVersion rangeFixed in
sapsap_db
sapsap_db
sapsap_db
sapsap_db
sapsap_db
sapsap_db
sapsap_db
sapsap_db

Detection & IOCsextracted from sources · hover to see the quote

port9999
url/webdbm?Event=DBM_INTERN_TEST&Action=REFRESH&HTTP_COOKIE=
url/webdbm
other0x1003c95a (wapi.dll 7.4.3.0 RET address - Metasploit module)
other0x1003a218 (WAPI.dll call ebx - standalone exploit)
filenamewaHTTP.exe
filenamewapi.dll
uaSAP-Internet-SapDb-Server/
port4444
bytes
\xeb\x03\x59\xeb\x05\xe8\xf8\xff\xff\xff (PrependEncoder / shellcode stub)
bytes
\xeb\x03\x59\xeb\x05\xe8\xf8\xff\xff\xff\x49\x49\x37\x49... (win32_bind shellcode Alpha2 encoded, port 4444)
  • Exploit sends an overly long GET request (~20774+ bytes) to /webdbm with query parameters Event=DBM_INTERN_TEST&Action=REFRESH&HTTP_COOKIE= to trigger the SEH overwrite stack buffer overflow.
  • Detect HTTP GET requests to /webdbm containing the query string parameters Event=DBM_INTERN_TEST&Action=REFRESH&HTTP_COOKIE= with an abnormally large value (>20000 bytes) on port 9999.
  • The exploit payload uses AlphanumUpper encoding with ECX as the BufferRegister; look for large alphanumeric-only payloads in HTTP_COOKIE query parameter values.
  • Fingerprint the SAP DB Web Server by its Server response header banner SAP-Internet-SapDb-Server/ to identify exposed instances.
  • The vulnerability is in waHTTP.exe (SAP DB Web Server); monitor for abnormal process behavior or crashes of this process, especially when receiving large HTTP requests.
  • ·The Metasploit module RET address (0x1003c95a) targets wapi.dll version 7.4.3.0 specifically; the standalone exploit uses a different RET address (0x1003a218) for the same DLL version, suggesting minor version differences affect offsets.
  • ·The CVE affects SAP DB possibly versions 7.3 through 7.5; exploitation details in public PoCs are specifically demonstrated against version 7.4 on Windows 2000.
  • ·The vulnerability covers multiple attack vectors: a cookie value, a query string parameter (sapdbwa_GetQueryString), and numerous other unspecified fields — detection rules should not be limited to the HTTP_COOKIE vector alone.
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.