{"api_version":"1","generated_at":"2026-07-23T08:14:20+00:00","cve":"CVE-2014-0185","urls":{"html":"https://cve.report/CVE-2014-0185","api":"https://cve.report/api/cve/CVE-2014-0185.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2014-0185","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2014-0185"},"summary":{"title":"CVE-2014-0185","description":"sapi/fpm/fpm/fpm_unix.c in the FastCGI Process Manager (FPM) in PHP before 5.4.28 and 5.5.x before 5.5.12 uses 0666 permissions for the UNIX socket, which allows local users to gain privileges via a crafted FastCGI client.","state":"PUBLISHED","assigner":"redhat","published_at":"2014-05-06 10:44:02","updated_at":"2026-05-06 22:30:45"},"problem_types":["CWE-269","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.2","severity":"","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","baseScore":7.2,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"http://lists.opensuse.org/opensuse-updates/2015-10/msg00012.html","name":"http://lists.opensuse.org/opensuse-updates/2015-10/msg00012.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"openSUSE-SU-2015:1685-1: moderate: Security update for froxlor","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1307027","name":"https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1307027","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Bug #1307027 “php5-fpm: Possible privilege escalation due to ins...” : Bugs : “php5” package : Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/php/php-src/commit/35ceea928b12373a3b1e3eecdc32ed323223a40d","name":"https://github.com/php/php-src/commit/35ceea928b12373a3b1e3eecdc32ed323223a40d","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Patch","Third Party Advisory"],"title":"Fix bug #67060: use default mode of 660 · php/php-src@35ceea9 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.php.net/bug.php?id=67060","name":"https://bugs.php.net/bug.php?id=67060","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"PHP :: Sec Bug #67060 :: sapi/fpm: possible privilege escalation due to insecure default configuration","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.php.net/ChangeLog-5.php","name":"http://www.php.net/ChangeLog-5.php","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"PHP: PHP 5 ChangeLog","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://support.apple.com/kb/HT6443","name":"http://support.apple.com/kb/HT6443","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"About the security content of OS X Mavericks v10.9.5 and Security Update 2014-004 - Apple Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://hoffmann-christian.info/files/php-fpm/0001-Fix-bug-67060-use-default-mode-of-660.patch","name":"https://hoffmann-christian.info/files/php-fpm/0001-Fix-bug-67060-use-default-mode-of-660.patch","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"],"title":"","mime":"text/x-diff","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/59061","name":"http://secunia.com/advisories/59061","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Security Advisory SA59061 - SUSE update for php5 - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2014/04/29/5","name":"http://www.openwall.com/lists/oss-security/2014/04/29/5","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - Fwd: [vs] php-fpm: privilege escalation due to insecure default config\n (CVE-2014-0185)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1092815","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1092815","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Third Party Advisory"],"title":"Bug 1092815 – CVE-2014-0185 php: insecure default permissions on the FPM unix socket","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.php.net/archive/2014.php#id2014-05-01-1","name":"http://www.php.net/archive/2014.php#id2014-05-01-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"PHP: News Archive - 2014","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/59329","name":"http://secunia.com/advisories/59329","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Security Advisory SA59329 - Ubuntu update for php5 - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-0185","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-0185","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":"2014","cve_id":"185","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"*","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-06T09:05:39.280Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"59329","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/59329"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/php/php-src/commit/35ceea928b12373a3b1e3eecdc32ed323223a40d"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://hoffmann-christian.info/files/php-fpm/0001-Fix-bug-67060-use-default-mode-of-660.patch"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1307027"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugs.php.net/bug.php?id=67060"},{"name":"59061","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/59061"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.php.net/ChangeLog-5.php"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.php.net/archive/2014.php#id2014-05-01-1"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://support.apple.com/kb/HT6443"},{"name":"[oss-security] 20140429 Fwd: [vs] php-fpm: privilege escalation due to insecure default config (CVE-2014-0185)","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2014/04/29/5"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1092815"},{"name":"openSUSE-SU-2015:1685","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-updates/2015-10/msg00012.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2014-04-29T00:00:00.000Z","descriptions":[{"lang":"en","value":"sapi/fpm/fpm/fpm_unix.c in the FastCGI Process Manager (FPM) in PHP before 5.4.28 and 5.5.x before 5.5.12 uses 0666 permissions for the UNIX socket, which allows local users to gain privileges via a crafted FastCGI client."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-01-05T14:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"name":"59329","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/59329"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/php/php-src/commit/35ceea928b12373a3b1e3eecdc32ed323223a40d"},{"tags":["x_refsource_MISC"],"url":"https://hoffmann-christian.info/files/php-fpm/0001-Fix-bug-67060-use-default-mode-of-660.patch"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1307027"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugs.php.net/bug.php?id=67060"},{"name":"59061","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/59061"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.php.net/ChangeLog-5.php"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.php.net/archive/2014.php#id2014-05-01-1"},{"tags":["x_refsource_CONFIRM"],"url":"http://support.apple.com/kb/HT6443"},{"name":"[oss-security] 20140429 Fwd: [vs] php-fpm: privilege escalation due to insecure default config (CVE-2014-0185)","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2014/04/29/5"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1092815"},{"name":"openSUSE-SU-2015:1685","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-updates/2015-10/msg00012.html"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2014-0185","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":"sapi/fpm/fpm/fpm_unix.c in the FastCGI Process Manager (FPM) in PHP before 5.4.28 and 5.5.x before 5.5.12 uses 0666 permissions for the UNIX socket, which allows local users to gain privileges via a crafted FastCGI client."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"59329","refsource":"SECUNIA","url":"http://secunia.com/advisories/59329"},{"name":"https://github.com/php/php-src/commit/35ceea928b12373a3b1e3eecdc32ed323223a40d","refsource":"CONFIRM","url":"https://github.com/php/php-src/commit/35ceea928b12373a3b1e3eecdc32ed323223a40d"},{"name":"https://hoffmann-christian.info/files/php-fpm/0001-Fix-bug-67060-use-default-mode-of-660.patch","refsource":"MISC","url":"https://hoffmann-christian.info/files/php-fpm/0001-Fix-bug-67060-use-default-mode-of-660.patch"},{"name":"https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1307027","refsource":"CONFIRM","url":"https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1307027"},{"name":"https://bugs.php.net/bug.php?id=67060","refsource":"CONFIRM","url":"https://bugs.php.net/bug.php?id=67060"},{"name":"59061","refsource":"SECUNIA","url":"http://secunia.com/advisories/59061"},{"name":"http://www.php.net/ChangeLog-5.php","refsource":"CONFIRM","url":"http://www.php.net/ChangeLog-5.php"},{"name":"http://www.php.net/archive/2014.php#id2014-05-01-1","refsource":"CONFIRM","url":"http://www.php.net/archive/2014.php#id2014-05-01-1"},{"name":"http://support.apple.com/kb/HT6443","refsource":"CONFIRM","url":"http://support.apple.com/kb/HT6443"},{"name":"[oss-security] 20140429 Fwd: [vs] php-fpm: privilege escalation due to insecure default config (CVE-2014-0185)","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2014/04/29/5"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1092815","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1092815"},{"name":"openSUSE-SU-2015:1685","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-updates/2015-10/msg00012.html"}]}}}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2014-0185","datePublished":"2014-05-06T10:00:00.000Z","dateReserved":"2013-12-03T00:00:00.000Z","dateUpdated":"2024-08-06T09:05:39.280Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2014-05-06 10:44:02","lastModifiedDate":"2026-05-06 22:30:45","problem_types":["CWE-269","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","baseScore":7.2,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":3.9,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3.0","versionEndExcluding":"5.3.28","matchCriteriaId":"AE5EC45B-7745-4ECE-82FC-478651A860C3"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.0","versionEndExcluding":"5.4.28","matchCriteriaId":"8EB84629-28BF-47C7-8D33-099344266DD9"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5.0","versionEndExcluding":"5.5.12","matchCriteriaId":"3C4CDD11-8610-4107-910F-3364E3B2F1DF"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2014","CveId":"185","Ordinal":"1","Title":"CVE-2014-0185","CVE":"CVE-2014-0185","Year":"2014"},"notes":[{"CveYear":"2014","CveId":"185","Ordinal":"1","NoteData":"sapi/fpm/fpm/fpm_unix.c in the FastCGI Process Manager (FPM) in PHP before 5.4.28 and 5.5.x before 5.5.12 uses 0666 permissions for the UNIX socket, which allows local users to gain privileges via a crafted FastCGI client.","Type":"Description","Title":"CVE-2014-0185"},{"CveYear":"2014","CveId":"185","Ordinal":"2","NoteData":"2014-05-06","Type":"Other","Title":"Published"},{"CveYear":"2014","CveId":"185","Ordinal":"3","NoteData":"2017-01-05","Type":"Other","Title":"Modified"}]}}}