cbcvebase.
CVE-2005-4832
published 2005-12-31

CVE-2005-4832: SQL injection vulnerability in the Oracle Database Server 10g allows remote authenticated users to execute arbitrary SQL commands with elevated privileges via…

PriorityP348high7.5CVSS 2.0
AVNACLAuNCPIPAP
EXPLOIT
EPSS
41.67%
98.5th percentile
SQL injection vulnerability in the Oracle Database Server 10g allows remote authenticated users to execute arbitrary SQL commands with elevated privileges via the SUBSCRIPTION_NAME parameter in the (1) SYS.DBMS_CDC_SUBSCRIBE and (2) SYS.DBMS_CDC_ISUBSCRIBE packages, a different vector than CVE-2005-1197.

Affected

27 ranges· showing 25
VendorProductVersion rangeFixed in
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g
oracleoracle10g

Detection & IOCsextracted from sources · hover to see the quote

commandSYS.DBMS_CDC_SUBSCRIBE.ACTIVATE_SUBSCRIPTION('''||BUNKER.own||''');
commandSYS.DBMS_CDC_SUBSCRIBE.ACTIVATE_SUBSCRIPTION('''||dbms_sql.execute(2)||''');
processdbms_cdc_subscribe.pl
processdbms_cdc_subscribeV2.pl
  • Monitor Oracle DB audit logs for calls to SYS.DBMS_CDC_SUBSCRIBE.ACTIVATE_SUBSCRIPTION or SYS.DBMS_CDC_ISUBSCRIBE with a SUBSCRIPTION_NAME parameter containing SQL metacharacters (e.g., single-quote sequences like ''||...||'').
  • Detect the 'cursor injection' technique: look for DBMS_SQL.OPEN_CURSOR / DBMS_SQL.PARSE being called immediately before SYS.DBMS_CDC_SUBSCRIBE.ACTIVATE_SUBSCRIPTION, with the cursor handle passed as the injected payload (e.g., dbms_sql.execute(<cursor>)).
  • Alert on GRANT DBA or REVOKE DBA statements executed under SYS context by a non-SYS session, which is the privilege escalation goal of this exploit.
  • Detect creation of a user-owned function named OWN with AUTHID CURRENT_USER and PRAGMA AUTONOMOUS_TRANSACTION, which is the helper function used in the v1 exploit to achieve privilege escalation.
  • ·The vulnerability requires an authenticated Oracle database session; it is not exploitable by unauthenticated/anonymous users. Scope detection rules to authenticated DB sessions only.
  • ·Affected versions are Oracle 9i up to 9.2.0.5 and 10g up to 10.1.0.4. Tune version-based detection or suppression accordingly.
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.