-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathApache-Solr-collections-file-action-parameter-Log4j2-command-execution-vulnerability.json
128 lines (127 loc) · 4.77 KB
/
Apache-Solr-collections-file-action-parameter-Log4j2-command-execution-vulnerability.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"Name": "Apache Solr collections file action parameter Log4j2 command execution vulnerability",
"Description": "<p>Apache Solr is an open source search service, developed using the Java language, mainly based on HTTP and Apache Lucene.</p><p>Apache Solr has Log4j2 jndi injection command execution vulnerability. Attackers can use this feature to construct special data request packets through this vulnerability, and ultimately trigger remote code execution.</p>",
"Product": "Apache Solr",
"Homepage": "https://solr.apache.org/index.html",
"DisclosureDate": "2021-12-14",
"Author": "Chin",
"FofaQuery": "app=\"APACHE-Solr\"",
"GobyQuery": "app=\"APACHE-Solr\"",
"Level": "3",
"Impact": "<p>Apache Solr has Log4j2 jndi injection command execution vulnerability. Attackers can use this feature to construct special data request packets through this vulnerability, and ultimately trigger remote code execution.</p>",
"Recommendation": "<p>1. Upgrade to log4j-2.16.0-rc1: <br></p><p> Download address: <a href=\"https://github.com/apache/logging-log4j2/ releases/tag/log4j-2.16.0-rc1\">https://github.com/apache/logging-log4j2/releases/tag/log4j-2.16.0-rc1</a></p><p> 2. Emergency mitigation measures:</p><p>(1) Modify the jvm parameter -Dlog4j2.formatMsgNoLookups=true</p><p>(2) Modify the configuration log4j2.formatMsgNoLookups=True</p><p>( 3) Set the system environment variable FORMAT_MESSAGES_PATTERN_DISABLE_LOOKUPS to true</p>",
"References": [],
"Is0day": false,
"Translation": {
"CN": {
"Name": "Apache Solr collections 文件 action参数 Log4j2 命令执行漏洞",
"Product": "Apache Solr",
"VulType": [
"命令执行"
],
"Tags": [
"命令执行"
],
"Description": "<p>Apache Solr是一个开源的搜索服务,使用Java语言开发,主要基于HTTP和Apache Lucene实现的。<br></p><p><span style=\"font-size: 16px;\"><span style=\"color: rgb(22, 51, 102); font-size: 16px;\">Apache Solr</span> 存在 Log4j2 jndi 注入命令执行漏洞,攻击者利用此特性可通过该漏洞构造特殊的数据请求包,最终触发远程代码执行。</span><br></p>",
"Impact": "<p><span style=\"color: rgb(22, 51, 102); font-size: 16px;\">Apache Solr</span><span style=\"color: rgb(22, 51, 102); font-size: 16px;\"> 存在 Log4j2 jndi 注入命令执行漏洞,攻击者利用此特性可通过该漏洞构造特殊的数据请求包,最终触发远程代码执行。</span><br></p>",
"Recommendation": "<p><span style=\"color: var(--primaryFont-color);\">1、升级至 log4j-2.16.0-rc1:</span><br></p><p> 下载地址:<a href=\"https://github.com/apache/logging-log4j2/releases/tag/log4j-2.16.0-rc1\">https://github.com/apache/logging-log4j2/releases/tag/log4j-2.16.0-rc1</a></p><p>2、紧急缓解措施:</p><p>(1) 修改 jvm 参数 -Dlog4j2.formatMsgNoLookups=true</p><p>(2) 修改配置 log4j2.formatMsgNoLookups=True</p><p>(3) 将系统环境变量 FORMAT_MESSAGES_PATTERN_DISABLE_LOOKUPS 设置 为 true</p>"
}
},
"HasExp": false,
"ExpParams": [],
"ExpTips": {
"Type": "",
"Content": ""
},
"ScanSteps": [
"AND",
{
"Request": {
"method": "GET",
"uri": "/test.php",
"follow_redirect": true,
"header": {},
"data_type": "text",
"data": ""
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "200",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "test",
"bz": ""
}
]
},
"SetVariable": []
}
],
"ExploitSteps": [
"AND",
{
"Request": {
"method": "GET",
"uri": "/test.php",
"follow_redirect": true,
"header": {},
"data_type": "text",
"data": ""
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "200",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "test",
"bz": ""
}
]
},
"SetVariable": []
}
],
"Tags": [
"rce"
],
"VulType": [
"rce"
],
"CVEIDs": [
""
],
"CNNVD": [
""
],
"CNVD": [
""
],
"CVSSScore": "10.0",
"AttackSurfaces": {
"Application": null,
"Support": null,
"Service": null,
"System": null,
"Hardware": null
}
}