GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CNVD-2015-01877

Vulnerability from cnvd - Published: 2015-03-20
VLAI
Title
requests sessions.py resolve_redirects会话固定漏洞
Description
Requests是Apache2许可的HTTP库,是用Python编写的。 Requests 2.1.0-2.5.3版本,sessions.py中的resolve_redirects函数存在安全漏洞,在重定向时未能正确处理不带host值的cookie,远程攻击者可利用此漏洞执行会话固定攻击。
Severity
Patch Name
requests sessions.py resolve_redirects会话固定漏洞的补丁
Patch Description
Requests是Apache2许可的HTTP库,是用Python编写的。 Requests 2.1.0-2.5.3版本,sessions.py中的resolve_redirects函数存在安全漏洞,在重定向时未能正确处理不带host值的cookie,远程攻击者可利用此漏洞执行会话固定攻击。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

用户可参考如下供应商提供的安全公告获得补丁信息: https://warehouse.python.org/project/requests/2.6.0/

Reference
http://www.ubuntu.com/usn/USN-2531-1 http://www.openwall.com/lists/oss-security/2015/03/14/4 https://github.com/kennethreitz/requests/commit/3bd8afbff29e50b38f889b2f688785a669b9aafc
Impacted products
Name
python-requests requests 2.1.0 - 2.5.3
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2015-2296"
    }
  },
  "description": "Requests\u662fApache2\u8bb8\u53ef\u7684HTTP\u5e93\uff0c\u662f\u7528Python\u7f16\u5199\u7684\u3002\r\n\r\nRequests 2.1.0-2.5.3\u7248\u672c\uff0csessions.py\u4e2d\u7684resolve_redirects\u51fd\u6570\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\uff0c\u5728\u91cd\u5b9a\u5411\u65f6\u672a\u80fd\u6b63\u786e\u5904\u7406\u4e0d\u5e26host\u503c\u7684cookie\uff0c\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u5229\u7528\u6b64\u6f0f\u6d1e\u6267\u884c\u4f1a\u8bdd\u56fa\u5b9a\u653b\u51fb\u3002",
  "discovererName": "Matthew Daley",
  "formalWay": "\u7528\u6237\u53ef\u53c2\u8003\u5982\u4e0b\u4f9b\u5e94\u5546\u63d0\u4f9b\u7684\u5b89\u5168\u516c\u544a\u83b7\u5f97\u8865\u4e01\u4fe1\u606f\uff1a\r\nhttps://warehouse.python.org/project/requests/2.6.0/",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2015-01877",
  "openTime": "2015-03-20",
  "patchDescription": "Requests\u662fApache2\u8bb8\u53ef\u7684HTTP\u5e93\uff0c\u662f\u7528Python\u7f16\u5199\u7684\u3002 \r\n\r\nRequests 2.1.0-2.5.3\u7248\u672c\uff0csessions.py\u4e2d\u7684resolve_redirects\u51fd\u6570\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\uff0c\u5728\u91cd\u5b9a\u5411\u65f6\u672a\u80fd\u6b63\u786e\u5904\u7406\u4e0d\u5e26host\u503c\u7684cookie\uff0c\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u5229\u7528\u6b64\u6f0f\u6d1e\u6267\u884c\u4f1a\u8bdd\u56fa\u5b9a\u653b\u51fb\u3002\u76ee\u524d\uff0c\u4f9b\u5e94\u5546\u53d1\u5e03\u4e86\u5b89\u5168\u516c\u544a\u53ca\u76f8\u5173\u8865\u4e01\u4fe1\u606f\uff0c\u4fee\u590d\u4e86\u6b64\u6f0f\u6d1e\u3002",
  "patchName": "requests sessions.py resolve_redirects\u4f1a\u8bdd\u56fa\u5b9a\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "python-requests requests 2.1.0 - 2.5.3"
  },
  "referenceLink": "http://www.ubuntu.com/usn/USN-2531-1\r\nhttp://www.openwall.com/lists/oss-security/2015/03/14/4\r\nhttps://github.com/kennethreitz/requests/commit/3bd8afbff29e50b38f889b2f688785a669b9aafc",
  "serverity": "\u4e2d",
  "submitTime": "2015-03-19",
  "title": "requests sessions.py resolve_redirects\u4f1a\u8bdd\u56fa\u5b9a\u6f0f\u6d1e"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…