CVE-2008-2516
What it is
pam_sm_authenticate in pam_pgsql.c in libpam-pgsql 0.6.3 does not properly consider operator precedence when evaluating the success of a pam_get_pass function call, which allows local users to gain privileges via a SIGINT signal when this function is executing, as demonstrated by a CTRL-C sequence at a sudo password prompt in an "auth sufficient pam_pgsql.so" configuration.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.3% in the next 30 days (EPSS).
- Severity: 4.6 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-287 · Improper authentication
- Record status
- Modified
Affected
- libpam-pgsql 0.6.3
Attack profile CVSS 2.0 · 4.6
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2008-2516.md and follow it. Check whether this project is affected by CVE-2008-2516. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481970
- http://secunia.com/advisories/30391
- http://sourceforge.net/project/shownotes.php?release_id=601775
- http://www.securityfocus.com/bid/29360
- http://www.securitytracker.com/id?1020111
- http://www.vupen.com/english/advisories/2008/1654/references
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42653
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481970
- http://secunia.com/advisories/30391
- http://sourceforge.net/project/shownotes.php?release_id=601775
- http://www.securityfocus.com/bid/29360
- http://www.securitytracker.com/id?1020111
- http://www.vupen.com/english/advisories/2008/1654/references
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42653