# CVE-2024-38277: moodle: QR login key and auto-login key for the Moodle mobile app should be generated as separate keys

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-06-18T19:49:52.092Z
- Modified: 2026-09-08T08:48:15.216Z
- Also known as: GHSA-r82w-3phg-qvr4, BIT-MOODLE-2024-38277
- Weaknesses: CWE-324, CWE-326
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: fedora

## Description

A unique key should be generated for a user's QR login key and their auto-login key, so the same key cannot be used interchangeably between the two.

(As written by CVE List.)

## Affected

- Moodle Moodle: 4.4; from 4.3 up to 4.3.4; from 4.2 up to 4.2.7; from 4.1 up to 4.1.10; from 4.1.0 before 4.1.11; from 4.2.0 before 4.2.8; from 4.3.0 before 4.3.5; 4.4.0
- moodle/moodle (Packagist): from 4.4.0-beta before 4.4.1; from 4.3.0-beta before 4.3.5; from 4.2.0-beta before 4.2.8; before 4.1.11
- fedoraproject fedora: 39; 40
- moodle (Bitnami): from 4.1.0 before 4.1.11; from 4.2.0 before 4.2.8; from 4.3.0 before 4.3.5; from 4.4.0 before 4.4.1

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://moodle.org/mod/forum/discuss.php?d=459502> (advisory, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GHTIX55J4Q4LEOMLNEA4OZSWVEENQX7E/> (discussion, mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F7AZYR7EXV6E5SQE2GYTNQE3NOENJCQ6/> (discussion, mailing-list)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-38277> (advisory, web)
- <https://github.com/moodle/moodle/commit/0caedaab7cd5a46331d56654ce9301b0a5a04c56> (web)
- <https://github.com/moodle/moodle/commit/1aea4a15281d81f2414a95aa485b8a6551708f57> (web)
- <https://github.com/moodle/moodle/commit/ad46a97f5355f0451d52e9f1a0f528d9a6f12e06> (web)
- <https://github.com/moodle/moodle/commit/d05795db8eece2943241a29a5443fb4685ba6070> (web)
- <https://github.com/moodle/moodle> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F7AZYR7EXV6E5SQE2GYTNQE3NOENJCQ6> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GHTIX55J4Q4LEOMLNEA4OZSWVEENQX7E> (web)

## Sources

- CVE List: [CVE-2024-38277](https://www.cve.org/CVERecord?id=CVE-2024-38277), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-r82w-3phg-qvr4](https://github.com/advisories/GHSA-r82w-3phg-qvr4), CC-BY-4.0, modified 2025-08-08
- NVD: [CVE-2024-38277](https://nvd.nist.gov/vuln/detail/CVE-2024-38277), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2024-38277](https://osv.dev/vulnerability/BIT-MOODLE-2024-38277), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-38277 · Whole record: https://cve.day/CVE-2024-38277.json · Rebuilt by cve.day 2026-11-25T22:58:41.989Z
