mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
Rename to insecure basic auth
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
edges
|
||||
| InsecureBasicAuth.java:94:19:94:68 | "http://www.example.com/rest/getuser.do?uid=abcdx" : String | InsecureBasicAuth.java:99:3:99:6 | conn |
|
||||
| InsecureBasicAuth.java:94:19:94:68 | "http://www.example.com/rest/getuser.do?uid=abcdx" : String | InsecureBasicAuth.java:100:3:100:6 | conn |
|
||||
| InsecureBasicAuth.java:94:19:94:68 | "http://www.example.com/rest/getuser.do?uid=abcdx" : String | InsecureBasicAuth.java:101:3:101:6 | conn |
|
||||
nodes
|
||||
| InsecureBasicAuth.java:94:19:94:68 | "http://www.example.com/rest/getuser.do?uid=abcdx" : String | semmle.label | "http://www.example.com/rest/getuser.do?uid=abcdx" : String |
|
||||
| InsecureBasicAuth.java:99:3:99:6 | conn | semmle.label | conn |
|
||||
| InsecureBasicAuth.java:100:3:100:6 | conn | semmle.label | conn |
|
||||
| InsecureBasicAuth.java:101:3:101:6 | conn | semmle.label | conn |
|
||||
#select
|
||||
| InsecureBasicAuth.java:28:3:28:59 | addHeader(...) | Insecure basic authentication |
|
||||
| InsecureBasicAuth.java:38:3:38:108 | setHeader(...) | Insecure basic authentication |
|
||||
| InsecureBasicAuth.java:54:3:54:59 | addHeader(...) | Insecure basic authentication |
|
||||
| InsecureBasicAuth.java:70:3:70:59 | addHeader(...) | Insecure basic authentication |
|
||||
| InsecureBasicAuth.java:87:3:87:59 | addHeader(...) | Insecure basic authentication |
|
||||
| InsecureBasicAuth.java:101:3:101:63 | setRequestProperty(...) | Insecure basic authentication |
|
||||
@@ -11,7 +11,7 @@ import java.net.HttpURLConnection;
|
||||
import java.net.URLConnection;
|
||||
import java.util.Base64;
|
||||
|
||||
public class UnsecureBasicAuth {
|
||||
public class InsecureBasicAuth {
|
||||
/**
|
||||
* Test basic authentication with Apache HTTP POST request using string constructor.
|
||||
*/
|
||||
@@ -0,0 +1 @@
|
||||
experimental/Security/CWE/CWE-522/InsecureBasicAuth.ql
|
||||
@@ -1,16 +0,0 @@
|
||||
edges
|
||||
| UnsecureBasicAuth.java:94:19:94:68 | "http://www.example.com/rest/getuser.do?uid=abcdx" : String | UnsecureBasicAuth.java:99:3:99:6 | conn |
|
||||
| UnsecureBasicAuth.java:94:19:94:68 | "http://www.example.com/rest/getuser.do?uid=abcdx" : String | UnsecureBasicAuth.java:100:3:100:6 | conn |
|
||||
| UnsecureBasicAuth.java:94:19:94:68 | "http://www.example.com/rest/getuser.do?uid=abcdx" : String | UnsecureBasicAuth.java:101:3:101:6 | conn |
|
||||
nodes
|
||||
| UnsecureBasicAuth.java:94:19:94:68 | "http://www.example.com/rest/getuser.do?uid=abcdx" : String | semmle.label | "http://www.example.com/rest/getuser.do?uid=abcdx" : String |
|
||||
| UnsecureBasicAuth.java:99:3:99:6 | conn | semmle.label | conn |
|
||||
| UnsecureBasicAuth.java:100:3:100:6 | conn | semmle.label | conn |
|
||||
| UnsecureBasicAuth.java:101:3:101:6 | conn | semmle.label | conn |
|
||||
#select
|
||||
| UnsecureBasicAuth.java:28:3:28:59 | addHeader(...) | Insecure basic authentication |
|
||||
| UnsecureBasicAuth.java:38:3:38:108 | setHeader(...) | Insecure basic authentication |
|
||||
| UnsecureBasicAuth.java:54:3:54:59 | addHeader(...) | Insecure basic authentication |
|
||||
| UnsecureBasicAuth.java:70:3:70:59 | addHeader(...) | Insecure basic authentication |
|
||||
| UnsecureBasicAuth.java:87:3:87:59 | addHeader(...) | Insecure basic authentication |
|
||||
| UnsecureBasicAuth.java:101:3:101:63 | setRequestProperty(...) | Insecure basic authentication |
|
||||
@@ -1 +0,0 @@
|
||||
experimental/Security/CWE/CWE-522/UnsecureBasicAuth.ql
|
||||
Reference in New Issue
Block a user