9.8
CRITICAL
CVE-2018-1000140
"rsyslog Librelp X509 Certificate Buffer Overflow"
Description

rsyslog librelp version 1.2.14 and earlier contains a Buffer Overflow vulnerability in the checking of x509 certificates from a peer that can result in Remote code execution. This attack appear to be exploitable a remote attacker that can connect to rsyslog and trigger a stack buffer overflow by sending a specially crafted x509 certificate.

INFO

Published Date :

March 23, 2018, 9:29 p.m.

Last Modified :

June 12, 2023, 7:15 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2018-1000140 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2018-1000140 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux_desktop
2 Redhat enterprise_linux_server
3 Redhat enterprise_linux_workstation
4 Redhat enterprise_linux_server_aus
5 Redhat enterprise_linux_server_eus
6 Redhat enterprise_linux_server_tus
1 Canonical ubuntu_linux
1 Debian debian_linux
1 Rsyslog librelp
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 3 months ago
82 stars 32 fork 32 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1111 different CVEs too.

None

Shell Makefile M4 C

Updated: 5 years, 6 months ago
0 stars 0 fork 0 watcher
Born at : May 14, 2019, 9:58 p.m. This repo has been linked 1 different CVEs too.

Pinned version of rsyslov vulnerable to CVE-2018-1000140

Shell Makefile M4 C

Updated: 5 years, 6 months ago
0 stars 1 fork 1 watcher
Born at : May 14, 2019, 9:02 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 4 years, 9 months ago
1 stars 0 fork 0 watcher
Born at : July 17, 2018, 7:48 p.m. This repo has been linked 494 different CVEs too.

The exploits

Python

Updated: 6 years, 2 months ago
4 stars 0 fork 0 watcher
Born at : May 6, 2018, 3:18 p.m. This repo has been linked 15 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-1000140 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-1000140 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Jun. 12, 2023

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/172829/librelp-Remote-Code-Execution.html [No Types Assigned]
  • CWE Remap by [email protected]

    Aug. 24, 2020

    Action Type Old Value New Value
    Changed CWE CWE-119 CWE-787
  • Modified Analysis by [email protected]

    May. 01, 2019

    Action Type Old Value New Value
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1703 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1703 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1704 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1704 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1701 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1701 Third Party Advisory
    Changed Reference Type https://github.com/rsyslog/librelp/blob/532aa362f0f7a8d037505b0a27a1df452f9bac9e/src/tcp.c#L1205 Third Party Advisory https://github.com/rsyslog/librelp/blob/532aa362f0f7a8d037505b0a27a1df452f9bac9e/src/tcp.c#L1205 Patch, Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1702 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1702 Third Party Advisory
    Changed Reference Type https://security.gentoo.org/glsa/201804-21 No Types Assigned https://security.gentoo.org/glsa/201804-21 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1225 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1225 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1223 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1223 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1707 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1707 Third Party Advisory
    Changed Reference Type https://lgtm.com/rules/1505913226124/ Issue Tracking, Third Party Advisory https://lgtm.com/rules/1505913226124/ Exploit, Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:6.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:6.7:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:6.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 21, 2018

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201804-21 [No Types Assigned]
  • CVE Modified by [email protected]

    May. 25, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:1707 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2018:1704 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2018:1703 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2018:1702 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2018:1701 [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 26, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:1225 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2018:1223 [No Types Assigned]
  • Initial Analysis by [email protected]

    Apr. 20, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://www.debian.org/security/2018/dsa-4151 No Types Assigned https://www.debian.org/security/2018/dsa-4151 Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3612-1/ No Types Assigned https://usn.ubuntu.com/3612-1/ Third Party Advisory
    Changed Reference Type https://github.com/rsyslog/librelp/blob/532aa362f0f7a8d037505b0a27a1df452f9bac9e/src/tcp.c#L1205 No Types Assigned https://github.com/rsyslog/librelp/blob/532aa362f0f7a8d037505b0a27a1df452f9bac9e/src/tcp.c#L1205 Third Party Advisory
    Changed Reference Type https://lgtm.com/rules/1505913226124/ No Types Assigned https://lgtm.com/rules/1505913226124/ Issue Tracking, Third Party Advisory
    Added CWE CWE-119
    Added CPE Configuration OR *cpe:2.3:a:rsyslog:librelp:*:*:*:*:*:*:*:* versions up to (including) 1.2.14
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Mar. 30, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3612-1/ [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 28, 2018

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2018/dsa-4151 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-1000140 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-1000140 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

39.02 }} -1.65%

score

0.97237

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability