POC详情: b036003b1a3bf7b58dfd3b7d8896bcd2539f8c4f

来源
关联漏洞
标题: VMware Spring Security 授权问题漏洞 (CVE-2022-22978)
描述:VMware Spring Security是美国威睿(VMware)公司的一套为基于Spring的应用程序提供说明性安全保护的安全框架。 VMware Spring Security 存在授权问题漏洞,该漏洞源于在应用程序中使用 RegexRequestMatcher 以及正则表达式的通配符(.)处理不受信任的输入时存在输入验证错误。
描述
CVE-2022-22978 Spring-Security bypass Demo
介绍
### CVE-2022-22978 Spring-Security bypass Demo  
>在Spring Security中使用RegexRequestMatcher且规则中包含带点号的正则表达式时,攻击者可以通过构造恶意数据包绕过身份认证  
### 影响范围  
>Spring Security 5.5.x < 5.5.7  
Spring Security 5.6.x < 5.6.4
### 复现
![img.png](img.png)
![img_1.png](img_1.png)
### Paylaod
>http://localhost:8080/admin/index%0a
### Docker
> docker pull s0cke3t/cve-2022-22978:latest
文件快照

[4.0K] /data/pocs/b036003b1a3bf7b58dfd3b7d8896bcd2539f8c4f ├── [ 146] Dockerfile ├── [ 40K] img_1.png ├── [ 41K] img.png ├── [ 10K] mvnw ├── [6.6K] mvnw.cmd ├── [2.5K] pom.xml ├── [ 451] README.md └── [4.0K] src ├── [4.0K] main │   ├── [4.0K] java │   │   └── [4.0K] cc │   │   └── [4.0K] saferoad │   │   ├── [4.0K] config │   │   │   └── [ 654] SpringSecurityConfig.java │   │   ├── [4.0K] controller │   │   │   └── [ 491] Demo.java │   │   └── [4.0K] cve202222978 │   │   ├── [ 377] Cve202222978Application.java │   │   └── [ 543] ServletInitializer.java │   └── [4.0K] resources │   ├── [ 1] application.properties │   └── [4.0K] templates │   ├── [ 305] index.html │   └── [ 152] manage.html └── [4.0K] test └── [4.0K] java └── [4.0K] cc └── [4.0K] saferoad └── [4.0K] cve202222978 ├── [ 231] Cve202222978ApplicationTests.java └── [ 623] RegexRequestMatcherTests.java 15 directories, 16 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。