Cloudanix VulnDB

CVE-2014-3497

None

CVSS

—

EPSS

2.1%

Published

Jul 3, 2014

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A problem in an open-source storage system can let attackers slip harmful code into web pages shown to users, which might let them steal login details or perform actions without permission.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Moderate
Impact
Data Tampering
Component
Application
Class
XSS
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The vulnerability permits remote injection of arbitrary web script or HTML by crafting responses that include malicious content in the WWW-Authenticate header, which is then processed by client browsers without proper escaping.

Why it matters to the business

Organizations using affected OpenStack Swift deployments risk unauthorized script execution in user browsers, potentially leading to session hijacking, credential theft, or unauthorized actions against cloud storage resources and increased support overhead for incident response.

How an attack unfolds

An attacker sends specially crafted requests to an OpenStack Swift endpoint that triggers inclusion of attacker-controlled script within the WWW-Authenticate response header; when a victim interacts with the affected service, the malicious content executes in the browser context.

How to fix it

Upgrade OpenStack Swift installations to a release after 1.13.1 that contains the fix for header handling. Apply vendor-supplied patches if available for the deployed version and validate header sanitization in custom configurations.

How to confirm the fix worked

Confirm Swift version is outside 1.11.0-1.13.1 range; perform controlled tests sending crafted WWW-Authenticate payloads and verify that scripts are no longer reflected or executed in browser contexts.

Typical attack path

  1. Identify a Swift service endpoint accepting authentication-related requests
  2. Craft a request designed to reflect arbitrary content into the WWW-Authenticate header
  3. Deliver a link or induce a victim user or application to trigger the response
  4. Execute injected script to perform actions such as cookie exfiltration or unauthorized API calls

How to detect it

Inspect web server and Swift proxy logs for unexpected script tags or HTML entities within WWW-Authenticate header values; correlate with access logs showing unusual authentication flows or browser behavior anomalies.

What your security team should do

  • Prioritize upgrade of all Swift deployments to patched releases
  • Review and harden header handling in any proxy or middleware layers
  • Add web application firewall rules to block suspicious content in authentication headers
  • Monitor EPSS and exploit maturity indicators for any resurgence in targeting

The record

Cross-site scripting (XSS) vulnerability in OpenStack Swift 1.11.0 through 1.13.1 allows remote attackers to inject arbitrary web script or HTML via the WWW-Authenticate header.

Affected packages

Ecosystem Package Introduced Fixed
PyPI swift 1.11.0 2.0.0
Debian:11 swift 0 1.13.1-1
Debian:12 swift 0 1.13.1-1
Debian:13 swift 0 1.13.1-1
Red Hat:openstack:5::el7 openstack-swift 0 0:1.13.1-3.el7ost
Red Hat:openstack:5::el7 openstack-swift-account 0 0:1.13.1-3.el7ost
Red Hat:openstack:5::el7 openstack-swift-container 0 0:1.13.1-3.el7ost
Red Hat:openstack:5::el7 openstack-swift-doc 0 0:1.13.1-3.el7ost
Red Hat:openstack:5::el7 openstack-swift-object 0 0:1.13.1-3.el7ost
Red Hat:openstack:5::el7 openstack-swift-proxy 0 0:1.13.1-3.el7ost
Red Hat:openstack:5::el7 python-swiftclient 0 0:2.1.0-2.el7ost
Red Hat:openstack:5::el7 python-swiftclient-doc 0 0:2.1.0-2.el7ost
Ubuntu:14.04:LTS swift 0 1.13.1-0ubuntu1.1
pypi swift 1.11.0 No fix

Related vulnerabilities