{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-38275","id":"CVE-2024-38275","title":"moodle: HTTP authorization header is preserved between \"emulated redirects\"","description":"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.","descriptionLong":"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.","published":"2024-06-18T19:49:26.986Z","updated":"2026-10-28T02:30:54.004419421Z","reserved":"2024-06-12T14:08:44.047Z","status":"Analyzed","rejected":false,"assigner":"fedora","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["Moodle"],"affectedProducts":[{"vendor":"Moodle","product":"Moodle","defaultStatus":"unaffected","versions":[{"status":"affected","version":"4.4","versionType":"semver"},{"status":"affected","version":"4.3","lessThanOrEqual":"4.3.4","versionType":"semver"},{"status":"affected","version":"4.2","lessThanOrEqual":"4.2.7","versionType":"semver"},{"status":"affected","version":"4.1","lessThanOrEqual":"4.1.10","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"moodle/moodle","purl":"pkg:composer/moodle/moodle","ranges":[">=4.4.0-beta <4.4.1",">=4.3.0-beta <4.3.5",">=4.2.0-beta <4.2.8","<4.1.11"],"fixed":["4.4.1","4.3.5","4.2.8","4.1.11"],"advisory":"GHSA-p2cj-86v4-7782"}],"cwes":["CWE-226","CWE-459"],"aliases":["BIT-moodle-2024-38275","GHSA-p2cj-86v4-7782"],"references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=459500","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38275.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38275","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/0df3c5837a592e6663c4d531ff6a1f776bc2f785","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/3e38c84315a7991ce5ef5f241f5e873b5ca24f01","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/836b2c23a210317d130017d77bb64e3b510869a9","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/f7988538b2208c55f2c40ce4f0815901dc88049b","tags":["web"]},{"url":"https://github.com/moodle/moodle","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00449,"epssPercentile":0.39896,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-38275","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38275","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-38275","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-p2cj-86v4-7782","ok":true,"note":"GHSA-p2cj-86v4-7782"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-38275","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}