HanaApplication · Sap

CVE-2015-7828

HIGH · 10.0 CVSS v2.0 Published 2015-11-10
Fix available
A fix is available. Upgrade to after 1.00 or later.
See remediation →
100/100
Remediation priority · Urgent
Public exploit Remotely reachable No privileges 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
SAP HANA Database 1.00 SPS10 and earlier do not require authentication, which allows remote attackers to execute arbitrary code or have unspecified other impact via a TrexNet packet to the (1) fcopydir, (2) fmkdir, (3) frmdir, (4) getenv, (5) dumpenv, (6) fcopy, (7) fput, (8) fdel, (9) fmove, (10) fget, (11) fappend, (12) fdir, (13) getTraces, (14) kill, (15) pexec, (16) stop, or (17) pythonexec method, aka SAP Security Note 2165583.

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 · high confidence

Critical authentication bypass in SAP HANA Database's TrexNet service (versions 1.00 SPS10 and earlier) allows unauthenticated remote attackers to execute arbitrary code via 17 exposed methods including file operations (fcopy, fput, fdel, fmove), process control (kill, pexec, stop), and code execution (pythonexec). The vulnerability requires no authentication, enabling complete system compromise through specially crafted TrexNet packets.

MitigationApply SAP Security Note 2165583 to enable authentication on the TrexNet service. Immediately restrict network access to TrexNet ports (3xx00 range) using firewalls or network segmentation until the patch is deployed.

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
HanaApplication
Affected:<= 1.00

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
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:N/AC:L/Au:N/C:C/I:C/A:C

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 SAP HANA installation and version
    Run 'HDB version' or check SAP HANA studio for the installed version. On Linux, also check /usr/sap/hdbversion or use the SAP HANA hdbsql command: 'select version from m_database;'. Compare the obtained version to 1.00 SPS10 or earlier.
    Affected if The installed version is 1.00 SPS10 or any version <= 1.00.
  2. Verify TrexNet service status
    Check if the TrexNet service (nameserver, indexserver, or trex service) is running on the SAP HANA host. Use 'ps -ef | grep -i trex' or check SAP HANA administrator tools to confirm the service is active.
    Affected if The TrexNet service is running and exposed on the system.
  3. Check TrexNet port exposure
    Scan or inspect network listeners on the SAP HANA host for ports in the 3xx00 range (such as 30000, 30001, 31000, 31001). Use 'netstat -tulpn | grep -E "3[0-9]{4}"' or 'ss -tulpn' to identify listening ports. Verify if these ports are bound to 0.0.0.0 (all interfaces) rather than localhost only.
    Affected if Ports in the 3xx00 range are open and accessible from network interfaces other than localhost.
  4. Confirm TrexNet authentication configuration
    Review SAP HANA configuration files or the trex.ini settings. Check if the security/authentication section has been modified from default. Inspect SAP Security Note 2165583 reference: authentication should be explicitly enabled on TrexNet. If the note was not applied, default configuration likely allows unauthenticated access.
    Affected if The TrexNet service accepts connections without requiring authentication (default vulnerable state before applying SAP Security Note 2165583).

A user is affected if SAP HANA version 1.00 SPS10 or earlier is installed AND the TrexNet service is running with accessible ports in the 3xx00 range AND authentication has not been explicitly enabled on the TrexNet service.

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.

dbcve · scoped
Upgrade available Upgrade to a release after 1.00
Interim mitigation

Apply SAP Security Note 2165583 to enable authentication on the TrexNet service. Immediately restrict network access to TrexNet ports (3xx00 range) using firewalls or network segmentation until the patch is deployed.

Recommended fix Moderate confidence

SAP HANA 1.00 SPS11 or later

  1. Identify the current SAP HANA version using the HANA cockpit or running 'HDB version' command
  2. Confirm the SPS level by executing: SELECT * FROM M_SYSTEM_OVERVIEW in XS advanced
  3. Upgrade to SAP HANA SPS11 or later (SAP Security Note 2165583 addresses this authentication bypass)
  4. After upgrade, verify the TrexNet service requires authentication by reviewing the indexserver configuration
  5. Ensure network exposure of TrexNet port (3xx00-3xx15) is restricted to trusted internal networks only
  6. Validate the fix by attempting an unauthenticated TrexNet connection from an unauthorized host - this should now be rejected
Caveat Review custom TrexNet client integrations as SPS11 introduced authentication requirements that may affect existing scripts

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Hana Scoped from the published advisory
  • Consultation8.0 h
  • Implementation16.0 h
  • Testing24.0 h
  • Review / QA8.0 h
56.0 hours of engineering $9,520
Get the upgrade done

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

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2015-7828 — 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-2015-7828 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