Skip to content

CPP: Pam Authorization Bypass #667

Closed

Description

Query PR

github/codeql#8775

Language

C/C++

CVE(s) ID list

nvd.nist.gov/vuln/detail/CVE-2022-24755

CWE

CWE-285

Report

This is similar to #561 and #562.

Using pam_authenticate function call to grant access to a user can cause security issues. A pam_authenticate call only checks if the username and the password match. It does not check if the account is expired. Hence, a user with an expired login or an expired password can still login.

This PR aims to detect instances were an initiated PAM Transaction calls pam_authenticate but does not call pam_acct_mgtmt.

Are you planning to discuss this vulnerability submission publicly? (Blog Post, social networks, etc).

  • Yes
  • No

Blog post link

No response

Activity

  1. ghost added
    All For OneSubmissions to the All for One, One for All bounty
    on Apr 19, 2022
  2. ghsecuritylab commented on May 26, 2022

    @ghsecuritylab
    Collaborator

    Your submission is now in status Test run.

    For information, the evaluation workflow is the following:
    Initial triage > Test run > Results analysis > Query review > Final decision > Pay > Closed

  3. ghsecuritylab commented on May 26, 2022

    @ghsecuritylab
    Collaborator

    Your submission is now in status Results analysis.

    For information, the evaluation workflow is the following:
    Initial triage > Test run > Results analysis > Query review > Final decision > Pay > Closed

  4. ghsecuritylab commented on Jun 8, 2022

    @ghsecuritylab
    Collaborator

    Your submission is now in status Query review.

    For information, the evaluation workflow is the following:
    Initial triage > Test run > Results analysis > Query review > Final decision > Pay > Closed

  5. geoffw0 commented on Jun 13, 2022

    @geoffw0

    Hi @porcupineyhairs, I'm no longer responsible for this issue but I've poked the team who are. Hope that sorts things out.

  6. ghsecuritylab commented on Jun 14, 2022

    @ghsecuritylab
    Collaborator

    Your submission is now in status Final decision.

    For information, the evaluation workflow is the following:
    Initial triage > Test run > Results analysis > Query review > Final decision > Pay > Closed

  7. ghsecuritylab commented on Jun 15, 2022

    @ghsecuritylab
    Collaborator

    Your submission is now in status Pay.

    For information, the evaluation workflow is the following:
    Initial triage > Test run > Results analysis > Query review > Final decision > Pay > Closed

  8. xcorail commented on Jun 15, 2022

    @xcorail
    Contributor

    Created Hackerone report 1602234 for bounty 398647 : [667] CPP: Pam Authorization Bypass

  9. ghsecuritylab commented on Jun 15, 2022

    @ghsecuritylab
    Collaborator

    Your submission is now in status Closed.

    For information, the evaluation workflow is the following:
    Initial triage > Test run > Results analysis > Query review > Final decision > Pay > Closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    All For OneSubmissions to the All for One, One for All bounty

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions