Database ServerDatabase / datastore · Oracle

CVE-2007-4517

MEDIUM · 6.0 CVSS v2.0 Published 2007-11-08
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
66/100
Remediation priority · Elevated
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Buffer overflow in the XDB.XDB_PITRIG_PKG.PITRIG_DROPMETADATA procedure in Oracle 10g R2 allows remote authenticated users to execute arbitrary code via a long (1) OWNER or (2) NAME argument.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

Buffer overflow vulnerability in Oracle 10g R2's XDB.XDB_PITRIG_PKG.PITRIG_DROPMETADATA procedure allows remote authenticated users to execute arbitrary code via specially crafted long OWNER or NAME arguments that overflow an internal buffer.

MitigationRestrict database access to trusted authenticated users only; apply Oracle Critical Patch Updates; disable or restrict XDB component if not required in production environments.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Database ServerDatabase / datastore
Affected:= release_2

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
M
Authentication
Single
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:M/Au:S/C:P/I:P/A:P

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Oracle Database version
    Run: SELECT version FROM v$instance; or SELECT * FROM product_component_version;
    Affected if Version starts with 10.2 (10g R2)
  2. Confirm XDB component is installed
    Run: SELECT status FROM dba_registry WHERE comp_name='Oracle XML Database';
    Affected if Status is VALID or LOADED (XDB is present)
  3. Check if vulnerable procedure exists
    Run: SELECT owner, object_name FROM dba_objects WHERE owner='XDB' AND object_name='PITRIG_DROPMETADATA' AND object_type='PROCEDURE';
    Affected if The procedure exists in the XDB schema
  4. Verify execute permission on vulnerable procedure
    Run: SELECT grantee, privilege FROM dba_tab_privs WHERE owner='XDB' AND table_name='PITRIG_DROPMETADATA';
    Affected if PUBLIC or untrusted users have EXECUTE privilege
  5. Check for recent session activity on XDB
    Run: SELECT username, program FROM v$session WHERE username='XDB' OR username IN (SELECT username FROM dba_users WHERE account_status='OPEN'); review listener logs for XDB connection attempts
    Affected if XDB is accessible via network/listener to untrusted users

If running Oracle 10g R2 (10.2.x) with XDB component installed and the PITRIG_DROPMETADATA procedure is accessible to non-admin users, the environment is vulnerable to remote code execution via buffer overflow.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Restrict database access to trusted authenticated users only; apply Oracle Critical Patch Updates; disable or restrict XDB component if not required in production environments.

Fix this in Database Server Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing6.0 h
  • Review / QA2.0 h
20.0 hours of engineering $3,500
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,600.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2007-4517 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2007-4517 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data