File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
cpp/ql/src/Security/CWE/CWE-611 Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
<overview >
5
5
<p >
6
6
Parsing untrusted XML files with a weakly configured XML parser may lead to an
7
- XML External Entity (XXE) attack. This type of attack uses external entity references
7
+ XML external entity (XXE) attack. This type of attack uses external entity references
8
8
to access arbitrary files on a system, carry out denial-of-service (DoS) attacks, or server-side
9
9
request forgery. Even when the result of parsing is not returned to the user, DoS attacks are still possible
10
10
and out-of-band data retrieval techniques may allow attackers to steal sensitive data.
Original file line number Diff line number Diff line change 1
1
/**
2
- * @name External Entity Expansion
2
+ * @name XML external entity expansion
3
3
* @description Parsing user-controlled XML documents and allowing expansion of
4
4
* external entity references may lead to disclosure of
5
5
* confidential data or denial of service.
@@ -208,5 +208,5 @@ class XXEConfiguration extends DataFlow::Configuration {
208
208
from XXEConfiguration conf , DataFlow:: PathNode source , DataFlow:: PathNode sink
209
209
where conf .hasFlowPath ( source , sink )
210
210
select sink , source , sink ,
211
- "This $@ is not configured to prevent an External Entity Expansion (XXE) attack." , source ,
211
+ "This $@ is not configured to prevent an XML external entity (XXE) attack." , source ,
212
212
"XML parser"
You can’t perform that action at this time.
0 commit comments