5.3
MEDIUM CVSS 3.1
CVE-2023-51766
Exim SMTP Smuggling Vulnerability
Description

Exim before 4.97.1 allows SMTP smuggling in certain PIPELINING/CHUNKING configurations. Remote attackers can use a published exploitation technique to inject e-mail messages with a spoofed MAIL FROM address, allowing bypass of an SPF protection mechanism. This occurs because Exim supports <LF>.<CR><LF> but some other popular e-mail servers do not.

INFO

Published Date :

Dec. 24, 2023, 6:15 a.m.

Last Modified :

Nov. 21, 2024, 8:38 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2023-51766 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 Fedoraproject fedora
2 Fedoraproject extra_packages_for_enterprise_linux
1 Debian debian_linux
1 Exim exim
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
To address the Exim SMTP smuggling vulnerability, update the Exim mail transfer agent.
  • Upgrade to Exim version 4.97.1 or later.
  • Update all affected Exim packages.
Public PoC/Exploit Available at Github

CVE-2023-51766 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-51766.

URL Resource
http://www.openwall.com/lists/oss-security/2023/12/24/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2023/12/25/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2023/12/29/2 Mailing List Mitigation Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/01/01/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/01/01/2 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/01/01/3 Mailing List Third Party Advisory
https://bugs.exim.org/show_bug.cgi?id=3063 Issue Tracking Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2255852 Issue Tracking Third Party Advisory
https://exim.org/static/doc/security/CVE-2023-51766.txt Broken Link
https://fahrplan.events.ccc.de/congress/2023/fahrplan/events/11782.html Technical Description
https://git.exim.org/exim.git/commit/5bb786d5ad568a88d50d15452aacc8404047e5ca Patch
https://git.exim.org/exim.git/commit/cf1376206284f2a4f11e32d931d4aade34c206c5 Patch
https://github.com/Exim/exim/blob/master/doc/doc-txt/cve-2023-51766 Mitigation Vendor Advisory
https://lists.debian.org/debian-lts-announce/2024/01/msg00002.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ORN7OKEQPPBKUHYRQ6LR5PSNBQVDHAWB/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QPDWHJPABVJCXDSNELSSVTIVAJU2MDUQ/ Mailing List Third Party Advisory
https://lwn.net/Articles/956533/ Third Party Advisory
https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide/ Technical Description Third Party Advisory
https://www.openwall.com/lists/oss-security/2023/12/23/2 Issue Tracking Mailing List Third Party Advisory
https://www.youtube.com/watch?v=V8KPV96g1To Exploit
http://www.openwall.com/lists/oss-security/2023/12/24/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2023/12/25/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2023/12/29/2 Mailing List Mitigation Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/01/01/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/01/01/2 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/01/01/3 Mailing List Third Party Advisory
https://bugs.exim.org/show_bug.cgi?id=3063 Issue Tracking Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2255852 Issue Tracking Third Party Advisory
https://exim.org/static/doc/security/CVE-2023-51766.txt Broken Link
https://fahrplan.events.ccc.de/congress/2023/fahrplan/events/11782.html Technical Description
https://git.exim.org/exim.git/commit/5bb786d5ad568a88d50d15452aacc8404047e5ca Patch
https://git.exim.org/exim.git/commit/cf1376206284f2a4f11e32d931d4aade34c206c5 Patch
https://github.com/Exim/exim/blob/master/doc/doc-txt/cve-2023-51766 Mitigation Vendor Advisory
https://lists.debian.org/debian-lts-announce/2024/01/msg00002.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ORN7OKEQPPBKUHYRQ6LR5PSNBQVDHAWB/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QPDWHJPABVJCXDSNELSSVTIVAJU2MDUQ/ Mailing List Third Party Advisory
https://lwn.net/Articles/956533/ Third Party Advisory
https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide/ Technical Description Third Party Advisory
https://www.openwall.com/lists/oss-security/2023/12/23/2 Issue Tracking Mailing List Third Party Advisory
https://www.youtube.com/watch?v=V8KPV96g1To Exploit
CWE - Common Weakness Enumeration

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

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).

Exim SMTP Vulnerabilities list

cve exim vulnerabilities

Updated: 8 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Dec. 10, 2024, 1:42 p.m. This repo has been linked 15 different CVEs too.

Imoro Umar Farouq's report on Internal Network Penetration Testing

Shell

Updated: 11 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Sept. 12, 2024, 11:46 a.m. This repo has been linked 161 different CVEs too.

None

Python Shell

Updated: 2 months, 2 weeks ago
104 stars 14 fork 14 watcher
Born at : Dec. 21, 2023, 8:13 p.m. This repo has been linked 3 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-2023-51766 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-51766 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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2023/12/24/1
    Added Reference http://www.openwall.com/lists/oss-security/2023/12/25/1
    Added Reference http://www.openwall.com/lists/oss-security/2023/12/29/2
    Added Reference http://www.openwall.com/lists/oss-security/2024/01/01/1
    Added Reference http://www.openwall.com/lists/oss-security/2024/01/01/2
    Added Reference http://www.openwall.com/lists/oss-security/2024/01/01/3
    Added Reference https://bugs.exim.org/show_bug.cgi?id=3063
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2255852
    Added Reference https://exim.org/static/doc/security/CVE-2023-51766.txt
    Added Reference https://fahrplan.events.ccc.de/congress/2023/fahrplan/events/11782.html
    Added Reference https://git.exim.org/exim.git/commit/5bb786d5ad568a88d50d15452aacc8404047e5ca
    Added Reference https://git.exim.org/exim.git/commit/cf1376206284f2a4f11e32d931d4aade34c206c5
    Added Reference https://github.com/Exim/exim/blob/master/doc/doc-txt/cve-2023-51766
    Added Reference https://lists.debian.org/debian-lts-announce/2024/01/msg00002.html
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ORN7OKEQPPBKUHYRQ6LR5PSNBQVDHAWB/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QPDWHJPABVJCXDSNELSSVTIVAJU2MDUQ/
    Added Reference https://lwn.net/Articles/956533/
    Added Reference https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide/
    Added Reference https://www.openwall.com/lists/oss-security/2023/12/23/2
    Added Reference https://www.youtube.com/watch?v=V8KPV96g1To
  • CVE Modified by [email protected]

    May. 14, 2024

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

    Feb. 02, 2024

    Action Type Old Value New Value
    Removed CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/01/msg00002.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/01/msg00002.html Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ORN7OKEQPPBKUHYRQ6LR5PSNBQVDHAWB/ No Types Assigned https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ORN7OKEQPPBKUHYRQ6LR5PSNBQVDHAWB/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QPDWHJPABVJCXDSNELSSVTIVAJU2MDUQ/ No Types Assigned https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QPDWHJPABVJCXDSNELSSVTIVAJU2MDUQ/ Mailing List, Third Party Advisory
    Changed Reference Type https://lwn.net/Articles/956533/ No Types Assigned https://lwn.net/Articles/956533/ Third Party Advisory
    Changed Reference Type https://www.youtube.com/watch?v=V8KPV96g1To No Types Assigned https://www.youtube.com/watch?v=V8KPV96g1To Exploit
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jan. 18, 2024

    Action Type Old Value New Value
    Added Reference MITRE https://lwn.net/Articles/956533/ [No types assigned]
  • CVE Modified by [email protected]

    Jan. 12, 2024

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QPDWHJPABVJCXDSNELSSVTIVAJU2MDUQ/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ORN7OKEQPPBKUHYRQ6LR5PSNBQVDHAWB/ [No types assigned]
  • CVE Modified by [email protected]

    Jan. 05, 2024

    Action Type Old Value New Value
    Added Reference MITRE https://lists.debian.org/debian-lts-announce/2024/01/msg00002.html [No types assigned]
  • CVE Modified by [email protected]

    Jan. 04, 2024

    Action Type Old Value New Value
    Added Reference MITRE https://www.youtube.com/watch?v=V8KPV96g1To [No types assigned]
  • Initial Analysis by [email protected]

    Jan. 04, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
    Changed Reference Type http://www.openwall.com/lists/oss-security/2023/12/24/1 No Types Assigned http://www.openwall.com/lists/oss-security/2023/12/24/1 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2023/12/25/1 No Types Assigned http://www.openwall.com/lists/oss-security/2023/12/25/1 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2023/12/29/2 No Types Assigned http://www.openwall.com/lists/oss-security/2023/12/29/2 Mailing List, Mitigation, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/01/01/1 No Types Assigned http://www.openwall.com/lists/oss-security/2024/01/01/1 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/01/01/2 No Types Assigned http://www.openwall.com/lists/oss-security/2024/01/01/2 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/01/01/3 No Types Assigned http://www.openwall.com/lists/oss-security/2024/01/01/3 Mailing List, Third Party Advisory
    Changed Reference Type https://bugs.exim.org/show_bug.cgi?id=3063 No Types Assigned https://bugs.exim.org/show_bug.cgi?id=3063 Issue Tracking, Vendor Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2255852 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2255852 Issue Tracking, Third Party Advisory
    Changed Reference Type https://exim.org/static/doc/security/CVE-2023-51766.txt No Types Assigned https://exim.org/static/doc/security/CVE-2023-51766.txt Broken Link
    Changed Reference Type https://fahrplan.events.ccc.de/congress/2023/fahrplan/events/11782.html No Types Assigned https://fahrplan.events.ccc.de/congress/2023/fahrplan/events/11782.html Technical Description
    Changed Reference Type https://git.exim.org/exim.git/commit/5bb786d5ad568a88d50d15452aacc8404047e5ca No Types Assigned https://git.exim.org/exim.git/commit/5bb786d5ad568a88d50d15452aacc8404047e5ca Patch
    Changed Reference Type https://git.exim.org/exim.git/commit/cf1376206284f2a4f11e32d931d4aade34c206c5 No Types Assigned https://git.exim.org/exim.git/commit/cf1376206284f2a4f11e32d931d4aade34c206c5 Patch
    Changed Reference Type https://github.com/Exim/exim/blob/master/doc/doc-txt/cve-2023-51766 No Types Assigned https://github.com/Exim/exim/blob/master/doc/doc-txt/cve-2023-51766 Mitigation, Vendor Advisory
    Changed Reference Type https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide/ No Types Assigned https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide/ Technical Description, Third Party Advisory
    Changed Reference Type https://www.openwall.com/lists/oss-security/2023/12/23/2 No Types Assigned https://www.openwall.com/lists/oss-security/2023/12/23/2 Issue Tracking, Mailing List, Third Party Advisory
    Added CWE NIST CWE-345
    Added CPE Configuration OR *cpe:2.3:a:exim:exim:*:*:*:*:*:*:*:* versions up to (excluding) 4.97.1
    Added CPE Configuration OR *cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jan. 02, 2024

    Action Type Old Value New Value
    Added Reference MITRE http://www.openwall.com/lists/oss-security/2024/01/01/3 [No types assigned]
  • CVE Modified by [email protected]

    Jan. 01, 2024

    Action Type Old Value New Value
    Added Reference MITRE http://www.openwall.com/lists/oss-security/2024/01/01/2 [No types assigned]
  • CVE Modified by [email protected]

    Jan. 01, 2024

    Action Type Old Value New Value
    Added Reference MITRE http://www.openwall.com/lists/oss-security/2024/01/01/1 [No types assigned]
  • CVE Modified by [email protected]

    Jan. 01, 2024

    Action Type Old Value New Value
    Changed Description Exim through 4.97 allows SMTP smuggling in certain configurations. Remote attackers can use a published exploitation technique to inject e-mail messages with a spoofed MAIL FROM address, allowing bypass of an SPF protection mechanism. This occurs because Exim supports <LF>.<CR><LF> but some other popular e-mail servers do not. Exim before 4.97.1 allows SMTP smuggling in certain PIPELINING/CHUNKING configurations. Remote attackers can use a published exploitation technique to inject e-mail messages with a spoofed MAIL FROM address, allowing bypass of an SPF protection mechanism. This occurs because Exim supports <LF>.<CR><LF> but some other popular e-mail servers do not.
    Added Reference MITRE https://github.com/Exim/exim/blob/master/doc/doc-txt/cve-2023-51766 [No types assigned]
  • CVE Modified by [email protected]

    Dec. 29, 2023

    Action Type Old Value New Value
    Added Reference MITRE http://www.openwall.com/lists/oss-security/2023/12/29/2 [No types assigned]
  • CVE Modified by [email protected]

    Dec. 26, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://fahrplan.events.ccc.de/congress/2023/fahrplan/events/11782.html [No types assigned]
  • CVE Modified by [email protected]

    Dec. 26, 2023

    Action Type Old Value New Value
    Changed Description Exim through 4.97 allows SMTP smuggling in certain configurations. Remote attackers can use a published exploitation technique to inject e-mail messages that appear to originate from the Exim server, allowing bypass of an SPF protection mechanism. This occurs because Exim supports <LF>.<CR><LF> but some other popular e-mail servers do not. Exim through 4.97 allows SMTP smuggling in certain configurations. Remote attackers can use a published exploitation technique to inject e-mail messages with a spoofed MAIL FROM address, allowing bypass of an SPF protection mechanism. This occurs because Exim supports <LF>.<CR><LF> but some other popular e-mail servers do not.
    Added Reference MITRE http://www.openwall.com/lists/oss-security/2023/12/25/1 [No types assigned]
    Added Reference MITRE https://git.exim.org/exim.git/commit/5bb786d5ad568a88d50d15452aacc8404047e5ca [No types assigned]
    Added Reference MITRE https://git.exim.org/exim.git/commit/cf1376206284f2a4f11e32d931d4aade34c206c5 [No types assigned]
    Added Reference MITRE https://bugzilla.redhat.com/show_bug.cgi?id=2255852 [No types assigned]
  • CVE Modified by [email protected]

    Dec. 24, 2023

    Action Type Old Value New Value
    Added Reference MITRE http://www.openwall.com/lists/oss-security/2023/12/24/1 [No types assigned]
  • CVE Received by [email protected]

    Dec. 24, 2023

    Action Type Old Value New Value
    Added Description Exim through 4.97 allows SMTP smuggling in certain configurations. Remote attackers can use a published exploitation technique to inject e-mail messages that appear to originate from the Exim server, allowing bypass of an SPF protection mechanism. This occurs because Exim supports <LF>.<CR><LF> but some other popular e-mail servers do not.
    Added Reference MITRE https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide/ [No types assigned]
    Added Reference MITRE https://exim.org/static/doc/security/CVE-2023-51766.txt [No types assigned]
    Added Reference MITRE https://bugs.exim.org/show_bug.cgi?id=3063 [No types assigned]
    Added Reference MITRE https://www.openwall.com/lists/oss-security/2023/12/23/2 [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.
Vulnerability Scoring Details
Base CVSS Score: 5.3
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

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

1.90 }} -1.30%

score

0.82486

percentile