CVE-2021-23772
Arbitrary File Write
Description
This affects all versions of package github.com/kataras/iris; all versions of package github.com/kataras/iris/v12. The unsafe handling of file names during upload using UploadFormFiles method may enable attackers to write to arbitrary locations outside the designated target folder.
INFO
Published Date :
Dec. 24, 2021, 12:15 p.m.
Last Modified :
Nov. 21, 2024, 5:51 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | 
Public PoC/Exploit Available at Github
                                            CVE-2021-23772 has a 1 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2021-23772.
                                        
| URL | Resource | 
|---|---|
| https://github.com/kataras/iris/commit/e213dba0d32ff66653e0ef124bc5088817264b08 | Patch Third Party Advisory | 
| https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRIS-2325169 | Exploit Patch Third Party Advisory | 
| https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRISV12-2325170 | Exploit Patch Third Party Advisory | 
| https://github.com/kataras/iris/commit/e213dba0d32ff66653e0ef124bc5088817264b08 | Patch Third Party Advisory | 
| https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRIS-2325169 | Exploit Patch Third Party Advisory | 
| https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRISV12-2325170 | Exploit Patch Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2021-23772 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2021-23772
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2021-23772 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2021-23772 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/kataras/iris/commit/e213dba0d32ff66653e0ef124bc5088817264b08 Added Reference https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRIS-2325169 Added Reference https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRISV12-2325170  - 
                            
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value  - 
                            
Initial Analysis by [email protected]
Jan. 04, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/kataras/iris/commit/e213dba0d32ff66653e0ef124bc5088817264b08 No Types Assigned https://github.com/kataras/iris/commit/e213dba0d32ff66653e0ef124bc5088817264b08 Patch, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRIS-2325169 No Types Assigned https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRIS-2325169 Exploit, Patch, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRISV12-2325170 No Types Assigned https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRISV12-2325170 Exploit, Patch, Third Party Advisory Added CWE NIST CWE-59 Added CPE Configuration AND OR *cpe:2.3:a:iris-go:iris:*:*:*:*:*:go:*:* versions up to (including) 12.1.8 *cpe:2.3:a:iris-go:iris:12.2.0:alpha:*:*:*:go:*:* *cpe:2.3:a:iris-go:iris:12.2.0:alpha2:*:*:*:go:*:* *cpe:2.3:a:iris-go:iris:12.2.0:alpha3:*:*:*:go:*:* *cpe:2.3:a:iris-go:iris:12.2.0:alpha4:*:*:*:go:*:* *cpe:2.3:a:iris-go:iris:12.2.0:alpha5:*:*:*:go:*:* OR cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* versions up to (excluding) 1.7.5  - 
                            
CVE Modified by [email protected]
Dec. 24, 2021
Action Type Old Value New Value Changed Description This affects all versions of package github.com/kataras/iris; all versions of package github.com/kataras/iris/v12. The unsafe handling of file names during upload using UploadFormFiles method may enable attackers to write to arbitrary locations outside the designated target folder. This affects all versions of package github.com/kataras/iris; all versions of package github.com/kataras/iris/v12. The unsafe handling of file names during upload using UploadFormFiles method may enable attackers to write to arbitrary locations outside the designated target folder.  
Vulnerability Scoring Details
Base CVSS Score: 8.8
Base CVSS Score: 6.8
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.66 }} 0.03%
score
0.70143
percentile