...
Failing to observe the correct revocation order while relinquishing privileges allows an attacker to regain elevated privileges.
Rule | Severity | Likelihood | Detectable | RepairableRemediation Cost | Priority | Level |
|---|---|---|---|---|---|---|
POS36-C | High | Probablehigh | probableYes | mediumYes | P12P18 | L1 |
Automated Detection
Tool | Version | Checker | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Astrée |
| user_defined | Soundly supported | ||||||||
| Axivion Bauhaus Suite |
| CertC-POS36 | |||||||||
| Compass/ROSE | Can detect some violations of this rule. In particular, it warns when calls to | ||||||||||
| Helix QAC |
| DF4891, DF4892, DF4893 | |||||||||
| Klocwork |
| SV.USAGERULES.PERMISSIONS | |||||||||
| Parasoft C/C++test |
| SECURITY-44 | ImplementedCERT_C-POS36-a | Observe correct revocation order while relinquishing privileges | |||||||
| Bad CERT C: Rule POS36-C | Checks for bad order of dropping privileges | Dropped higher elevated privileges before dropping lower elevated privileges(rule fully covered) |
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...