CVE-2024-35187 (GCVE-0-2024-35187)
Vulnerability from cvelistv5 – Published: 2024-05-16 15:16 – Updated: 2024-08-02 03:07
VLAI?
Summary
Stalwart Mail Server is an open-source mail server. Prior to version 0.8.0, attackers who achieved Arbitrary Code Execution as the stalwart-mail user (including web interface admins) can gain complete root access to the system. Usually, system services are run as a separate user (not as root) to isolate an attacker with Arbitrary Code Execution to the current service. Therefore, other system services and the system itself remains protected in case of a successful attack. stalwart-mail runs as a separate user, but it can give itself full privileges again in a simple way, so this protection is practically ineffective. Server admins who handed out the admin credentials to the mail server, but didn't want to hand out complete root access to the system, as well as any attacked user when the attackers gained Arbitrary Code Execution using another vulnerability, may be vulnerable. Version 0.8.0 contains a patch for the issue.
Severity ?
9.1 (Critical)
CWE
- CWE-863 - Incorrect Authorization
Assigner
References
| URL | Tags | ||||
|---|---|---|---|---|---|
|
|||||
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| stalwartlabs | mail-server |
Affected:
< 0.8.0
|
{
"containers": {
"adp": [
{
"affected": [
{
"cpes": [
"cpe:2.3:a:stalwartlabs:mail-server:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unknown",
"product": "mail-server",
"vendor": "stalwartlabs",
"versions": [
{
"lessThan": "0.8.0",
"status": "affected",
"version": "0",
"versionType": "custom"
}
]
}
],
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-35187",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-05-16T17:50:14.411487Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-06-06T19:18:08.792Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-02T03:07:46.856Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "https://github.com/stalwartlabs/mail-server/security/advisories/GHSA-rwp5-f854-ppg6",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/stalwartlabs/mail-server/security/advisories/GHSA-rwp5-f854-ppg6"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "mail-server",
"vendor": "stalwartlabs",
"versions": [
{
"status": "affected",
"version": "\u003c 0.8.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Stalwart Mail Server is an open-source mail server. Prior to version 0.8.0, attackers who achieved Arbitrary Code Execution as the stalwart-mail user (including web interface admins) can gain complete root access to the system. Usually, system services are run as a separate user (not as root) to isolate an attacker with Arbitrary Code Execution to the current service. Therefore, other system services and the system itself remains protected in case of a successful attack. stalwart-mail runs as a separate user, but it can give itself full privileges again in a simple way, so this protection is practically ineffective. Server admins who handed out the admin credentials to the mail server, but didn\u0027t want to hand out complete root access to the system, as well as any attacked user when the attackers gained Arbitrary Code Execution using another vulnerability, may be vulnerable. Version 0.8.0 contains a patch for the issue."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.1,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "HIGH",
"scope": "CHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-863",
"description": "CWE-863: Incorrect Authorization",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-05-16T15:16:57.797Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/stalwartlabs/mail-server/security/advisories/GHSA-rwp5-f854-ppg6",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/stalwartlabs/mail-server/security/advisories/GHSA-rwp5-f854-ppg6"
}
],
"source": {
"advisory": "GHSA-rwp5-f854-ppg6",
"discovery": "UNKNOWN"
},
"title": "Stalwart Mail Server has privilege escalation by design"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2024-35187",
"datePublished": "2024-05-16T15:16:57.797Z",
"dateReserved": "2024-05-10T14:24:24.340Z",
"dateUpdated": "2024-08-02T03:07:46.856Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"fkie_nvd": {
"descriptions": "[{\"lang\": \"en\", \"value\": \"Stalwart Mail Server is an open-source mail server. Prior to version 0.8.0, attackers who achieved Arbitrary Code Execution as the stalwart-mail user (including web interface admins) can gain complete root access to the system. Usually, system services are run as a separate user (not as root) to isolate an attacker with Arbitrary Code Execution to the current service. Therefore, other system services and the system itself remains protected in case of a successful attack. stalwart-mail runs as a separate user, but it can give itself full privileges again in a simple way, so this protection is practically ineffective. Server admins who handed out the admin credentials to the mail server, but didn\u0027t want to hand out complete root access to the system, as well as any attacked user when the attackers gained Arbitrary Code Execution using another vulnerability, may be vulnerable. Version 0.8.0 contains a patch for the issue.\"}, {\"lang\": \"es\", \"value\": \"Stalwart Mail Server es un servidor de correo de c\\u00f3digo abierto. Antes de la versi\\u00f3n 0.8.0, los atacantes que lograban la ejecuci\\u00f3n de c\\u00f3digo arbitrario como usuarios incondicionales de correo (incluidos los administradores de la interfaz web) pod\\u00edan obtener acceso de root al sistema. Por lo general, los servicios del sistema se ejecutan como un usuario independiente (no como root) para aislar a un atacante con ejecuci\\u00f3n de c\\u00f3digo arbitrario en el servicio actual. Por lo tanto, otros servicios del sistema y el propio sistema permanecen protegidos en caso de un ataque exitoso. stalwart-mail se ejecuta como un usuario independiente, pero puede volver a otorgarse todos los privilegios de forma sencilla, por lo que esta protecci\\u00f3n es pr\\u00e1cticamente ineficaz. Los administradores de servidores que entregaron las credenciales de administrador al servidor de correo, pero no quisieron otorgar acceso root al sistema, as\\u00ed como cualquier usuario atacado cuando los atacantes obtuvieron la ejecuci\\u00f3n de c\\u00f3digo arbitrario utilizando otra vulnerabilidad, pueden ser vulnerables. La versi\\u00f3n 0.8.0 contiene un parche para el problema.\"}]",
"id": "CVE-2024-35187",
"lastModified": "2024-11-21T09:19:53.717",
"metrics": "{\"cvssMetricV31\": [{\"source\": \"security-advisories@github.com\", \"type\": \"Secondary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H\", \"baseScore\": 9.1, \"baseSeverity\": \"CRITICAL\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"HIGH\", \"userInteraction\": \"NONE\", \"scope\": \"CHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"HIGH\", \"availabilityImpact\": \"HIGH\"}, \"exploitabilityScore\": 2.3, \"impactScore\": 6.0}]}",
"published": "2024-05-16T16:15:10.230",
"references": "[{\"url\": \"https://github.com/stalwartlabs/mail-server/security/advisories/GHSA-rwp5-f854-ppg6\", \"source\": \"security-advisories@github.com\"}, {\"url\": \"https://github.com/stalwartlabs/mail-server/security/advisories/GHSA-rwp5-f854-ppg6\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]",
"sourceIdentifier": "security-advisories@github.com",
"vulnStatus": "Awaiting Analysis",
"weaknesses": "[{\"source\": \"security-advisories@github.com\", \"type\": \"Secondary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-863\"}]}]"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2024-35187\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2024-05-16T16:15:10.230\",\"lastModified\":\"2024-11-21T09:19:53.717\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Stalwart Mail Server is an open-source mail server. Prior to version 0.8.0, attackers who achieved Arbitrary Code Execution as the stalwart-mail user (including web interface admins) can gain complete root access to the system. Usually, system services are run as a separate user (not as root) to isolate an attacker with Arbitrary Code Execution to the current service. Therefore, other system services and the system itself remains protected in case of a successful attack. stalwart-mail runs as a separate user, but it can give itself full privileges again in a simple way, so this protection is practically ineffective. Server admins who handed out the admin credentials to the mail server, but didn\u0027t want to hand out complete root access to the system, as well as any attacked user when the attackers gained Arbitrary Code Execution using another vulnerability, may be vulnerable. Version 0.8.0 contains a patch for the issue.\"},{\"lang\":\"es\",\"value\":\"Stalwart Mail Server es un servidor de correo de c\u00f3digo abierto. Antes de la versi\u00f3n 0.8.0, los atacantes que lograban la ejecuci\u00f3n de c\u00f3digo arbitrario como usuarios incondicionales de correo (incluidos los administradores de la interfaz web) pod\u00edan obtener acceso de root al sistema. Por lo general, los servicios del sistema se ejecutan como un usuario independiente (no como root) para aislar a un atacante con ejecuci\u00f3n de c\u00f3digo arbitrario en el servicio actual. Por lo tanto, otros servicios del sistema y el propio sistema permanecen protegidos en caso de un ataque exitoso. stalwart-mail se ejecuta como un usuario independiente, pero puede volver a otorgarse todos los privilegios de forma sencilla, por lo que esta protecci\u00f3n es pr\u00e1cticamente ineficaz. Los administradores de servidores que entregaron las credenciales de administrador al servidor de correo, pero no quisieron otorgar acceso root al sistema, as\u00ed como cualquier usuario atacado cuando los atacantes obtuvieron la ejecuci\u00f3n de c\u00f3digo arbitrario utilizando otra vulnerabilidad, pueden ser vulnerables. La versi\u00f3n 0.8.0 contiene un parche para el problema.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H\",\"baseScore\":9.1,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"HIGH\",\"userInteraction\":\"NONE\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.3,\"impactScore\":6.0}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-863\"}]}],\"references\":[{\"url\":\"https://github.com/stalwartlabs/mail-server/security/advisories/GHSA-rwp5-f854-ppg6\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/stalwartlabs/mail-server/security/advisories/GHSA-rwp5-f854-ppg6\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://github.com/stalwartlabs/mail-server/security/advisories/GHSA-rwp5-f854-ppg6\", \"name\": \"https://github.com/stalwartlabs/mail-server/security/advisories/GHSA-rwp5-f854-ppg6\", \"tags\": [\"x_refsource_CONFIRM\", \"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T03:07:46.856Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-35187\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-05-16T17:50:14.411487Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:stalwartlabs:mail-server:*:*:*:*:*:*:*:*\"], \"vendor\": \"stalwartlabs\", \"product\": \"mail-server\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"0.8.0\", \"versionType\": \"custom\"}], \"defaultStatus\": \"unknown\"}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-16T17:44:35.324Z\"}}], \"cna\": {\"title\": \"Stalwart Mail Server has privilege escalation by design\", \"source\": {\"advisory\": \"GHSA-rwp5-f854-ppg6\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"CHANGED\", \"version\": \"3.1\", \"baseScore\": 9.1, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"HIGH\", \"confidentialityImpact\": \"HIGH\"}}], \"affected\": [{\"vendor\": \"stalwartlabs\", \"product\": \"mail-server\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c 0.8.0\"}]}], \"references\": [{\"url\": \"https://github.com/stalwartlabs/mail-server/security/advisories/GHSA-rwp5-f854-ppg6\", \"name\": \"https://github.com/stalwartlabs/mail-server/security/advisories/GHSA-rwp5-f854-ppg6\", \"tags\": [\"x_refsource_CONFIRM\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"Stalwart Mail Server is an open-source mail server. Prior to version 0.8.0, attackers who achieved Arbitrary Code Execution as the stalwart-mail user (including web interface admins) can gain complete root access to the system. Usually, system services are run as a separate user (not as root) to isolate an attacker with Arbitrary Code Execution to the current service. Therefore, other system services and the system itself remains protected in case of a successful attack. stalwart-mail runs as a separate user, but it can give itself full privileges again in a simple way, so this protection is practically ineffective. Server admins who handed out the admin credentials to the mail server, but didn\u0027t want to hand out complete root access to the system, as well as any attacked user when the attackers gained Arbitrary Code Execution using another vulnerability, may be vulnerable. Version 0.8.0 contains a patch for the issue.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-863\", \"description\": \"CWE-863: Incorrect Authorization\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2024-05-16T15:16:57.797Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2024-35187\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-08-02T03:07:46.856Z\", \"dateReserved\": \"2024-05-10T14:24:24.340Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2024-05-16T15:16:57.797Z\", \"assignerShortName\": \"GitHub_M\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…