{"id":"CVE-2023-27582","published":"2023-03-13T21:40:23Z","modified":"2025-02-25T14:58:06Z","title":"Full authentication bypass if SASL authorization username is specified","vendor":"foxcpp","product":"maddy","tier":"tail","description":{"text":"maddy is a composable, all-in-one mail server. Starting with version 0.2.0 and prior to version 0.6.3, maddy allows a full authentication bypass if SASL authorization username is specified when using the PLAIN authentication mechanisms. Instead of validating the specified username, it is accepted as is after checking the credentials for the authentication username. maddy 0.6.3 includes the fix for the bug. There are no known workarounds.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01166,"percentile":0.67121,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"},{"id":"CWE-305","name":"Authentication Bypass by Primary Weakness"}],"references":[{"url":"https://github.com/foxcpp/maddy/security/advisories/GHSA-4g76-w3xw-2x6w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/foxcpp/maddy/commit/55a91a37b71210f34f98f4d327c30308fe24399a","tags":["x_refsource_MISC"]},{"url":"https://github.com/foxcpp/maddy/commit/9f58cb64b39cdc01928ec463bdb198c4c2313a9c","tags":["x_refsource_MISC"]},{"url":"https://github.com/foxcpp/maddy/releases/tag/v0.6.3","tags":["x_refsource_MISC"]}],"priority":{"score":19.8,"factors":[{"name":"EPSS percentile","points":13.42},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"foxcpp","affectedVersions":[{"vendor":"foxcpp","product":"maddy","versions":[">= 0.2.0  0.6.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-02-25T14:31:06.246958Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/foxcpp/maddy","vulnerableRanges":[">=0.2.0, <0.6.3"],"patched":["0.6.3"],"from":["GHSA-4g76-w3xw-2x6w","GO-2023-1630"],"provenance":"source"}],"summary":{"text":"A flaw in the PLAIN SASL authentication handling of the maddy mail server (foxcpp) allows a full authentication bypass when a SASL authorization username is supplied: the authorization username is accepted without validation after only the authentication username's credentials are checked. An attacker with network access to the mail server can exploit this without credentials, prior authentication, or user interaction, though the flaw only applies to the PLAIN mechanism and only when an authorization username is specified.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:30Z"},"euvd":{"id":"EUVD-2023-0863","exploited":false,"provenance":"source"}}