{"api_version":"1","generated_at":"2026-07-23T07:14:18+00:00","cve":"CVE-2008-2516","urls":{"html":"https://cve.report/CVE-2008-2516","api":"https://cve.report/api/cve/CVE-2008-2516.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2008-2516","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2008-2516"},"summary":{"title":"CVE-2008-2516","description":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2008-06-03 14:32:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-287","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.6","severity":"","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","baseScore":4.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481970","name":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481970","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"#481970 - libpam-pgsql: <Ctrl+C> while in authentication phase induces success, may circumvent sudo et al. - Debian Bug report logs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.vupen.com/english/advisories/2008/1654/references","name":"http://www.vupen.com/english/advisories/2008/1654/references","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Webmail - OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://sourceforge.net/project/shownotes.php?release_id=601775","name":"http://sourceforge.net/project/shownotes.php?release_id=601775","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SourceForge.net: libpam-pgsql: Files","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://www.securitytracker.com/id?1020111","name":"http://www.securitytracker.com/id?1020111","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"libpam-pgsql Bug Lets Local Users Gain Elevated Privileges - SecurityTracker","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/30391","name":"http://secunia.com/advisories/30391","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"libpam-pgsql Authentication Bypass Security Issue - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/29360","name":"http://www.securityfocus.com/bid/29360","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"libpam-pgsql 'pam_pgsql.c' Authentication Bypass Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/42653","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/42653","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-2516","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-2516","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2008","cve_id":"2516","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libpam-pgsql","cpe5":"libpam-pgsql","cpe6":"0.6.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T09:05:29.865Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"30391","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/30391"},{"name":"ADV-2008-1654","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"],"url":"http://www.vupen.com/english/advisories/2008/1654/references"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481970"},{"name":"libpampgsql-pamsm-security-bypass(42653)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/42653"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://sourceforge.net/project/shownotes.php?release_id=601775"},{"name":"1020111","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"],"url":"http://www.securitytracker.com/id?1020111"},{"name":"29360","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/29360"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2008-05-19T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-07T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"30391","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/30391"},{"name":"ADV-2008-1654","tags":["vdb-entry","x_refsource_VUPEN"],"url":"http://www.vupen.com/english/advisories/2008/1654/references"},{"tags":["x_refsource_CONFIRM"],"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481970"},{"name":"libpampgsql-pamsm-security-bypass(42653)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/42653"},{"tags":["x_refsource_CONFIRM"],"url":"http://sourceforge.net/project/shownotes.php?release_id=601775"},{"name":"1020111","tags":["vdb-entry","x_refsource_SECTRACK"],"url":"http://www.securitytracker.com/id?1020111"},{"name":"29360","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/29360"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-2516","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"30391","refsource":"SECUNIA","url":"http://secunia.com/advisories/30391"},{"name":"ADV-2008-1654","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2008/1654/references"},{"name":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481970","refsource":"CONFIRM","url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481970"},{"name":"libpampgsql-pamsm-security-bypass(42653)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/42653"},{"name":"http://sourceforge.net/project/shownotes.php?release_id=601775","refsource":"CONFIRM","url":"http://sourceforge.net/project/shownotes.php?release_id=601775"},{"name":"1020111","refsource":"SECTRACK","url":"http://www.securitytracker.com/id?1020111"},{"name":"29360","refsource":"BID","url":"http://www.securityfocus.com/bid/29360"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2008-2516","datePublished":"2008-06-03T14:00:00.000Z","dateReserved":"2008-06-03T00:00:00.000Z","dateUpdated":"2024-08-07T09:05:29.865Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2008-06-03 14:32:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-287","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","baseScore":4.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:libpam-pgsql:libpam-pgsql:0.6.3:*:*:*:*:*:*:*","matchCriteriaId":"7537CF9B-687D-4522-B7DF-A5B86FA2878F"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2008","CveId":"2516","Ordinal":"1","Title":"CVE-2008-2516","CVE":"CVE-2008-2516","Year":"2008"},"notes":[{"CveYear":"2008","CveId":"2516","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2008-2516"},{"CveYear":"2008","CveId":"2516","Ordinal":"2","NoteData":"2008-06-03","Type":"Other","Title":"Published"},{"CveYear":"2008","CveId":"2516","Ordinal":"3","NoteData":"2017-08-07","Type":"Other","Title":"Modified"}]}}}