Vulnerabilites related to Canonical Ltd. - wpa_supplicant
CVE-2024-5290 (GCVE-0-2024-5290)
Vulnerability from cvelistv5
Published
2024-08-07 08:14
Modified
2024-09-18 15:39
CWE
  • CWE-427 - Uncontrolled Search Path Element
Summary
An issue was discovered in Ubuntu wpa_supplicant that resulted in loading of arbitrary shared objects, which allows a local unprivileged attacker to escalate privileges to the user that wpa_supplicant runs as (usually root). Membership in the netdev group or access to the dbus interface of wpa_supplicant allow an unprivileged user to specify an arbitrary path to a module to be loaded by the wpa_supplicant process; other escalation paths might exist.
Impacted products
Vendor Product Version
Canonical Ltd. wpa_supplicant Version: 2:2.10-15   
Version: 2:2.9.0-21build1   
Version: 2:2.9-1ubuntu2   
Version: 2.4-0ubuntu10   
Version: 2.4-0ubuntu3   
Version: 2.1-0ubuntu1   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "affected": [
          {
            "cpes": [
              "cpe:2.3:a:w1.fi:wpa_supplicant:*:*:*:*:*:*:*:*"
            ],
            "defaultStatus": "unknown",
            "product": "wpa_supplicant",
            "vendor": "w1.fi",
            "versions": [
              {
                "lessThan": "2:2.10-21ubuntu0.1",
                "status": "affected",
                "version": "2:2.10-15",
                "versionType": "semver"
              },
              {
                "lessThan": "2:2.10-6ubuntu2.1",
                "status": "affected",
                "version": "2:2.9.0-21build1",
                "versionType": "semver"
              },
              {
                "lessThan": "2:2.9-1ubuntu4.4",
                "status": "affected",
                "version": "2:2.9-1ubuntu2",
                "versionType": "semver"
              },
              {
                "lessThan": "2:2.6-15ubuntu2.8+esm1",
                "status": "affected",
                "version": "2.4-0ubuntu10",
                "versionType": "semver"
              },
              {
                "lessThan": "2.4-0ubuntu6.8+esm1",
                "status": "affected",
                "version": "2.4-0ubuntu3",
                "versionType": "semver"
              },
              {
                "lessThan": "2.1-0ubuntu1.7+esm5",
                "status": "affected",
                "version": "2.1-0ubuntu1",
                "versionType": "semver"
              }
            ]
          }
        ],
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-5290",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-18T15:37:32.036314Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-18T15:39:53.818Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://launchpad.net/ubuntu/+source/",
          "defaultStatus": "unaffected",
          "modules": [
            "runtime API to load OpenSC module or PKCS11 engine or module"
          ],
          "packageName": "wpa",
          "platforms": [
            "Linux"
          ],
          "product": "wpa_supplicant",
          "programFiles": [
            "src/crypto/tls_openssl.c"
          ],
          "vendor": "Canonical Ltd.",
          "versions": [
            {
              "lessThan": "2:2.10-21ubuntu0.1",
              "status": "affected",
              "version": "2:2.10-15",
              "versionType": "semver"
            },
            {
              "lessThan": "2:2.10-6ubuntu2.1",
              "status": "affected",
              "version": "2:2.9.0-21build1",
              "versionType": "semver"
            },
            {
              "lessThan": "2:2.9-1ubuntu4.4",
              "status": "affected",
              "version": "2:2.9-1ubuntu2",
              "versionType": "semver"
            },
            {
              "lessThan": "2:2.6-15ubuntu2.8+esm1",
              "status": "affected",
              "version": "2.4-0ubuntu10",
              "versionType": "semver"
            },
            {
              "lessThan": "2.4-0ubuntu6.8+esm1",
              "status": "affected",
              "version": "2.4-0ubuntu3",
              "versionType": "semver"
            },
            {
              "lessThan": "2.1-0ubuntu1.7+esm5",
              "status": "affected",
              "version": "2.1-0ubuntu1",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Rory McNamara"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Marc Deslauriers"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Sudhakar Verma"
        },
        {
          "lang": "en",
          "type": "coordinator",
          "value": "Mark Esler"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "An issue was discovered in Ubuntu wpa_supplicant that resulted in loading of arbitrary shared objects, which allows a local unprivileged attacker to escalate privileges to the user that wpa_supplicant runs as (usually root).\n\n\n\n\nMembership in the netdev group or access to the dbus interface of wpa_supplicant allow an unprivileged user to specify an arbitrary path to a module to be loaded by the wpa_supplicant process; other escalation paths might exist."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-641",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-641 DLL Side-Loading"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-427",
              "description": "CWE-427 Uncontrolled Search Path Element",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-09-11T15:45:47.115Z",
        "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "shortName": "canonical"
      },
      "references": [
        {
          "url": "https://bugs.launchpad.net/ubuntu/+source/wpa/+bug/2067613"
        },
        {
          "url": "https://snyk.io/blog/abusing-ubuntu-root-privilege-escalation/"
        },
        {
          "url": "https://ubuntu.com/security/notices/USN-6945-1"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
    "assignerShortName": "canonical",
    "cveId": "CVE-2024-5290",
    "datePublished": "2024-08-07T08:14:08.153Z",
    "dateReserved": "2024-05-23T21:10:21.160Z",
    "dateUpdated": "2024-09-18T15:39:53.818Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}