@@ -36,8 +36,8 @@ class PamStartFunc extends Function {
3636 PamStartFunc ( ) { this .hasQualifiedName ( "github.com/msteinert/pam" , [ "StartFunc" , "Start" ] ) }
3737}
3838
39- class PamAuthBypassConfiguration extends TaintTracking:: Configuration {
40- PamAuthBypassConfiguration ( ) { this = "PAM auth bypass" }
39+ class PamStartToAcctMgmtConfig extends TaintTracking:: Configuration {
40+ PamStartToAcctMgmtConfig ( ) { this = "PAM auth bypass (Start to AcctMgmt) " }
4141
4242 override predicate isSource ( DataFlow:: Node source ) {
4343 exists ( PamStartFunc p | p .getACall ( ) .getResult ( 0 ) = source )
@@ -48,8 +48,8 @@ class PamAuthBypassConfiguration extends TaintTracking::Configuration {
4848 }
4949}
5050
51- class PamAuthBypassConfig extends TaintTracking:: Configuration {
52- PamAuthBypassConfig ( ) { this = "PAM auth bypass2 " }
51+ class PamStartToAuthenticateConfig extends TaintTracking:: Configuration {
52+ PamStartToAuthenticateConfig ( ) { this = "PAM auth bypass (Start to Authenticate) " }
5353
5454 override predicate isSource ( DataFlow:: Node source ) {
5555 exists ( PamStartFunc p | p .getACall ( ) .getResult ( 0 ) = source )
@@ -61,9 +61,9 @@ class PamAuthBypassConfig extends TaintTracking::Configuration {
6161}
6262
6363from
64- PamAuthBypassConfiguration config , PamAuthBypassConfig config2 , DataFlow:: Node source ,
64+ PamStartToAcctMgmtConfig acctMgmtConfig , PamStartToAuthenticateConfig authConfig , DataFlow:: Node source ,
6565 DataFlow:: Node sink
6666where
6767 not isInTestFile ( source .asExpr ( ) ) and
68- ( config2 .hasFlow ( source , sink ) and not config .hasFlow ( source , _) )
68+ ( authConfig .hasFlow ( source , sink ) and not acctMgmtConfig .hasFlow ( source , _) )
6969select source , "This Pam transaction may not be secure."
0 commit comments