CVE-2024-38275
Vulnerability from cvelistv5
Published
2024-06-18 19:49
Modified
2024-08-02 04:04
Summary
The cURL wrapper in Moodle retained the original request headers when following redirects, so HTTP authorization header information could be unintentionally sent in requests to redirect URLs.
Impacted products
Vendor Product Version
Moodle Moodle Version: 4.4   
Version: 4.3    4.3.4
Version: 4.2    4.2.7
Version: 4.1    4.1.10
Create a notification for this product.
Show details on NVD website


{
   containers: {
      adp: [
         {
            affected: [
               {
                  cpes: [
                     "cpe:2.3:a:moodle:moodle:4.1.0:-:*:*:*:*:*:*",
                  ],
                  defaultStatus: "unaffected",
                  product: "moodle",
                  vendor: "moodle",
                  versions: [
                     {
                        lessThanOrEqual: "4.1.10",
                        status: "affected",
                        version: "4.1.0",
                        versionType: "custom",
                     },
                  ],
               },
               {
                  cpes: [
                     "cpe:2.3:a:moodle:moodle:4.2.0:*:*:*:*:*:*:*",
                  ],
                  defaultStatus: "unaffected",
                  product: "moodle",
                  vendor: "moodle",
                  versions: [
                     {
                        lessThanOrEqual: "4.2.7",
                        status: "affected",
                        version: "4.2.0",
                        versionType: "custom",
                     },
                  ],
               },
               {
                  cpes: [
                     "cpe:2.3:a:moodle:moodle:4.3.0:-:*:*:*:*:*:*",
                  ],
                  defaultStatus: "unaffected",
                  product: "moodle",
                  vendor: "moodle",
                  versions: [
                     {
                        lessThanOrEqual: "4.3.4",
                        status: "affected",
                        version: "4.3.0",
                        versionType: "custom",
                     },
                  ],
               },
               {
                  cpes: [
                     "cpe:2.3:a:moodle:moodle:4.4.0:*:*:*:*:*:*:*",
                  ],
                  defaultStatus: "unaffected",
                  product: "moodle",
                  vendor: "moodle",
                  versions: [
                     {
                        lessThan: "4.4.1",
                        status: "affected",
                        version: "4.4.0",
                        versionType: "custom",
                     },
                  ],
               },
            ],
            metrics: [
               {
                  cvssV3_1: {
                     attackComplexity: "LOW",
                     attackVector: "NETWORK",
                     availabilityImpact: "NONE",
                     baseScore: 7.5,
                     baseSeverity: "HIGH",
                     confidentialityImpact: "HIGH",
                     integrityImpact: "NONE",
                     privilegesRequired: "NONE",
                     scope: "UNCHANGED",
                     userInteraction: "NONE",
                     vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                     version: "3.1",
                  },
               },
               {
                  other: {
                     content: {
                        id: "CVE-2024-38275",
                        options: [
                           {
                              Exploitation: "none",
                           },
                           {
                              Automatable: "yes",
                           },
                           {
                              "Technical Impact": "partial",
                           },
                        ],
                        role: "CISA Coordinator",
                        timestamp: "2024-07-02T13:36:09.482006Z",
                        version: "2.0.3",
                     },
                     type: "ssvc",
                  },
               },
            ],
            providerMetadata: {
               dateUpdated: "2024-07-02T19:52:54.464Z",
               orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
               shortName: "CISA-ADP",
            },
            title: "CISA ADP Vulnrichment",
         },
         {
            providerMetadata: {
               dateUpdated: "2024-08-02T04:04:25.068Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://moodle.org/mod/forum/discuss.php?d=459500",
               },
            ],
            title: "CVE Program Container",
         },
      ],
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Moodle",
               vendor: "Moodle",
               versions: [
                  {
                     status: "affected",
                     version: "4.4",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "4.3.4",
                     status: "affected",
                     version: "4.3",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "4.2.7",
                     status: "affected",
                     version: "4.2",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "4.1.10",
                     status: "affected",
                     version: "4.1",
                     versionType: "semver",
                  },
               ],
            },
         ],
         datePublic: "2024-06-18T17:00:00.000Z",
         descriptions: [
            {
               lang: "en",
               supportingMedia: [
                  {
                     base64: false,
                     type: "text/html",
                     value: "<pre>The cURL wrapper in Moodle retained the original request headers when following redirects, so HTTP authorization header information could be unintentionally sent in requests to redirect URLs.</pre><br>",
                  },
               ],
               value: "The cURL wrapper in Moodle retained the original request headers when following redirects, so HTTP authorization header information could be unintentionally sent in requests to redirect URLs.",
            },
         ],
         problemTypes: [
            {
               descriptions: [
                  {
                     cweId: "CWE-226",
                     description: "CWE-226",
                     lang: "en",
                     type: "CWE",
                  },
               ],
            },
         ],
         providerMetadata: {
            dateUpdated: "2024-06-18T19:49:26.986Z",
            orgId: "92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5",
            shortName: "fedora",
         },
         references: [
            {
               url: "https://moodle.org/mod/forum/discuss.php?d=459500",
            },
         ],
         title: "moodle: HTTP authorization header is preserved between \"emulated redirects\"",
      },
   },
   cveMetadata: {
      assignerOrgId: "92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5",
      assignerShortName: "fedora",
      cveId: "CVE-2024-38275",
      datePublished: "2024-06-18T19:49:26.986Z",
      dateReserved: "2024-06-12T14:08:44.047Z",
      dateUpdated: "2024-08-02T04:04:25.068Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2024-38275\",\"sourceIdentifier\":\"patrick@puiterwijk.org\",\"published\":\"2024-06-18T20:15:13.970\",\"lastModified\":\"2024-11-21T09:25:14.183\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"The cURL wrapper in Moodle retained the original request headers when following redirects, so HTTP authorization header information could be unintentionally sent in requests to redirect URLs.\"},{\"lang\":\"es\",\"value\":\"El contenedor cURL en Moodle retuvo los encabezados de solicitud originales al seguir redirecciones, por lo que la información del encabezado de autorización HTTP podría enviarse involuntariamente en solicitudes para redireccionar URL.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N\",\"baseScore\":7.5,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":3.9,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"patrick@puiterwijk.org\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-226\"}]}],\"references\":[{\"url\":\"https://moodle.org/mod/forum/discuss.php?d=459500\",\"source\":\"patrick@puiterwijk.org\"},{\"url\":\"https://moodle.org/mod/forum/discuss.php?d=459500\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
      vulnrichment: {
         containers: "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.5, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-38275\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-07-02T13:36:09.482006Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:moodle:moodle:4.1.0:-:*:*:*:*:*:*\"], \"vendor\": \"moodle\", \"product\": \"moodle\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.1.0\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"4.1.10\"}], \"defaultStatus\": \"unaffected\"}, {\"cpes\": [\"cpe:2.3:a:moodle:moodle:4.2.0:*:*:*:*:*:*:*\"], \"vendor\": \"moodle\", \"product\": \"moodle\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.2.0\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"4.2.7\"}], \"defaultStatus\": \"unaffected\"}, {\"cpes\": [\"cpe:2.3:a:moodle:moodle:4.3.0:-:*:*:*:*:*:*\"], \"vendor\": \"moodle\", \"product\": \"moodle\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.3.0\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"4.3.4\"}], \"defaultStatus\": \"unaffected\"}, {\"cpes\": [\"cpe:2.3:a:moodle:moodle:4.4.0:*:*:*:*:*:*:*\"], \"vendor\": \"moodle\", \"product\": \"moodle\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.4.0\", \"lessThan\": \"4.4.1\", \"versionType\": \"custom\"}], \"defaultStatus\": \"unaffected\"}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-07-02T13:43:48.130Z\"}}], \"cna\": {\"title\": \"moodle: HTTP authorization header is preserved between \\\"emulated redirects\\\"\", \"affected\": [{\"vendor\": \"Moodle\", \"product\": \"Moodle\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.4\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"4.3\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.3.4\"}, {\"status\": \"affected\", \"version\": \"4.2\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.2.7\"}, {\"status\": \"affected\", \"version\": \"4.1\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.1.10\"}], \"defaultStatus\": \"unaffected\"}], \"datePublic\": \"2024-06-18T17:00:00.000Z\", \"references\": [{\"url\": \"https://moodle.org/mod/forum/discuss.php?d=459500\"}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"The cURL wrapper in Moodle retained the original request headers when following redirects, so HTTP authorization header information could be unintentionally sent in requests to redirect URLs.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"<pre>The cURL wrapper in Moodle retained the original request headers when following redirects, so HTTP authorization header information could be unintentionally sent in requests to redirect URLs.</pre><br>\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-226\", \"description\": \"CWE-226\"}]}], \"providerMetadata\": {\"orgId\": \"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5\", \"shortName\": \"fedora\", \"dateUpdated\": \"2024-06-18T19:49:26.986Z\"}}}",
         cveMetadata: "{\"cveId\": \"CVE-2024-38275\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-07-02T19:52:54.464Z\", \"dateReserved\": \"2024-06-12T14:08:44.047Z\", \"assignerOrgId\": \"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5\", \"datePublished\": \"2024-06-18T19:49:26.986Z\", \"assignerShortName\": \"fedora\"}",
         dataType: "CVE_RECORD",
         dataVersion: "5.1",
      },
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.