{"api_version":"1","generated_at":"2026-05-09T05:10:21+00:00","cve":"CVE-2018-1115","urls":{"html":"https://cve.report/CVE-2018-1115","api":"https://cve.report/api/cve/CVE-2018-1115.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-1115","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-1115"},"summary":{"title":"CVE-2018-1115","description":"postgresql before versions 10.4, 9.6.9 is vulnerable in the adminpack extension, the pg_catalog.pg_logfile_rotate() function doesn't follow the same ACLs than pg_rorate_logfile. If the adminpack is added to a database, an attacker able to connect to it could exploit this to force log rotation.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2018-05-10 19:29:00","updated_at":"2023-11-07 02:55:00"},"problem_types":["CWE-732"],"metrics":[],"references":[{"url":"https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=7b34740","name":"https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=7b34740","refsource":"CONFIRM","tags":["Patch","Vendor Advisory"],"title":"git.postgresql.org Git - postgresql.git/commitdiff","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2018:2566","name":"RHSA-2018:2566","refsource":"REDHAT","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2018:2565","name":"RHSA-2018:2565","refsource":"REDHAT","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commitdiff%3Bh=7b34740","name":"https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commitdiff%3Bh=7b34740","refsource":"","tags":[],"title":"git.postgresql.org Git - postgresql.git/commitdiff","mime":"text/xml","httpstatus":"404","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201810-08","name":"GLSA-201810-08","refsource":"GENTOO","tags":["Third Party Advisory"],"title":"PostgreSQL: Multiple vulnerabilities (GLSA 201810-08) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1115","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1115","refsource":"CONFIRM","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"1573276 – (CVE-2018-1115) CVE-2018-1115 postgresql: Too-permissive access control list on function pg_logfile_rotate()","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/104285","name":"104285","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"PostgreSQL CVE-2018-1115 Security Bypass Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html","name":"openSUSE-SU-2020:1227","refsource":"SUSE","tags":["Mailing List","Third Party Advisory"],"title":"[security-announce] openSUSE-SU-2020:1227-1: moderate: Security update f","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-1115","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1115","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"1115","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"leap","cpe6":"15.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"1115","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"leap","cpe6":"15.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"1115","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"postgresql","cpe5":"postgresql","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"1115","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"postgresql","cpe5":"postgresql","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2018-1115","qid":"500532","title":"Alpine Linux Security Update for postgresql"},{"cve":"CVE-2018-1115","qid":"502000","title":"Alpine Linux Security Update for postgresql14"},{"cve":"CVE-2018-1115","qid":"502766","title":"Alpine Linux Security Update for postgresql15"},{"cve":"CVE-2018-1115","qid":"504299","title":"Alpine Linux Security Update for postgresql14"},{"cve":"CVE-2018-1115","qid":"505658","title":"Alpine Linux Security Update for postgresql15"},{"cve":"CVE-2018-1115","qid":"710227","title":"Gentoo Linux PostgreSQL Multiple Vulnerabilities (GLSA 201810-08)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2018-1115","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"postgresql","version":{"version_data":[{"version_value":"postegresql 10.4"},{"version_value":" postegresql 9.6.9"}]}}]},"vendor_name":""}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"postgresql before versions 10.4, 9.6.9 is vulnerable in the adminpack extension, the pg_catalog.pg_logfile_rotate() function doesn't follow the same ACLs than pg_rorate_logfile. If the adminpack is added to a database, an attacker able to connect to it could exploit this to force log rotation."}]},"impact":{"cvss":[[{"vectorString":"4.2/CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.0"}]]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-732"}]}]},"references":{"reference_data":[{"name":"GLSA-201810-08","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201810-08"},{"name":"RHSA-2018:2566","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:2566"},{"name":"RHSA-2018:2565","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:2565"},{"name":"104285","refsource":"BID","url":"http://www.securityfocus.com/bid/104285"},{"refsource":"SUSE","name":"openSUSE-SU-2020:1227","url":"http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1115","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1115"},{"name":"https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=7b34740","refsource":"CONFIRM","url":"https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=7b34740"}]}},"nvd":{"publishedDate":"2018-05-10 19:29:00","lastModifiedDate":"2023-11-07 02:55:00","problem_types":["CWE-732"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.2},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.4},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":4.9,"acInsufInfo":true,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","versionStartIncluding":"10.0","versionEndExcluding":"10.4","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","versionEndExcluding":"9.6.9","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"1115","Ordinal":"116346","Title":"CVE-2018-1115","CVE":"CVE-2018-1115","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"1115","Ordinal":"1","NoteData":"postgresql before versions 10.4, 9.6.9 is vulnerable in the adminpack extension, the pg_catalog.pg_logfile_rotate() function doesn't follow the same ACLs than pg_rorate_logfile. If the adminpack is added to a database, an attacker able to connect to it could exploit this to force log rotation.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"1115","Ordinal":"2","NoteData":"2018-05-10","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"1115","Ordinal":"3","NoteData":"2020-12-04","Type":"Other","Title":"Modified"}]}}}