Python: Adjust alert text of py/pam-auth-bypass

This commit is contained in:
Rasmus Wriedt Larsen
2022-11-28 16:14:38 +01:00
parent f8442ccb0e
commit 4e67ec19d0
2 changed files with 3 additions and 2 deletions

View File

@@ -18,4 +18,5 @@ import semmle.python.security.dataflow.PamAuthorizationQuery
from Configuration config, DataFlow::PathNode source, DataFlow::PathNode sink
where config.hasFlowPath(source, sink)
select sink.getNode(), source, sink,
"This PAM authentication call may lead to an authorization bypass, since `pam_acct_mgmt` is not called afterwards."
"This PAM authentication depends on a $@, and `pam_acct_mgmt` is not called afterwards.",
source.getNode(), "user-provided value"