Skip to content

Commit 7642b43

Browse files
committed
Adjust id tag and fix ending line error
1 parent 3d4a5a3 commit 7642b43

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

java/ql/src/experimental/Security/CWE/CWE-548/InsecureDirectoryConfig.ql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
2-
* @id java/j2ee-server-directory-listing
32
* @name Inappropriately exposed directories and files yielding sensitive information like source code and credentials to attackers.
43
* @description A directory listing provides an attacker with the complete index of all the resources located inside of the complete web directory.
54
* @kind problem
5+
* @id java/dir-listing
66
* @tags security
77
* external/cwe-548
88
*/
@@ -39,4 +39,5 @@ class DirectoryListingInitParam extends WebXMLElement {
3939

4040
from DirectoryListingInitParam initp
4141
where initp.isListingEnabled()
42-
select initp, "Directory listing should be disabled to mitigate filename and path disclosure"
42+
select initp, "Directory listing should be disabled to mitigate filename and path disclosure"
43+

0 commit comments

Comments
 (0)