-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2022.4646
          MSA-22-0024: Remote code execution risk when restoring
                   malformed backup file from Moodle 1.9
                             20 September 2022

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Moodle
Publisher:         Moodle
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Resolution:        Patch/Upgrade
CVE Names:         CVE-2022-40314  

Original Bulletin: 
   https://moodle.org/mod/forum/discuss.php?d=438393&parent=1764794

Comment: CVSS (Max):  None available when published

- --------------------------BEGIN INCLUDED TEXT--------------------

MSA-22-0024: Remote code execution risk when restoring malformed backup file
from Moodle 1.9

A remote code execution risk when restoring backup files originating from
Moodle 1.9 was identified.

Severity/Risk:     Serious
Versions affected: 4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier
                  unsupported versions
Versions fixed:    4.0.4, 3.11.10 and 3.9.17
Reported by:       Paul Holden
CVE identifier:    CVE-2022-40314
Changes (master):  http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75405
Tracker issue:     MDL-75405 Remote code execution risk when restoring malformed
                  backup file from Moodle 1.9

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: https://auscert.org.au/gpg-key/

iQIVAwUBYykpE8kNZI30y1K9AQjejQ/+KgagA5VeCCKPvoUlK5tEuQcIdhSWCaN6
5YPAiYW0JFtC9+4sq4upxiC+Cb3tE0/WffG0QbNuUCbE7IbnUOcuW/vgfMykNPbx
53hgEgefvJMrXLy6D/bKY88FwUripeobZMJbPJH+6CeUHnXVHim13c3sU+KCk4EI
W9hMzSAU0D1hu6U3fl9GNvVviw3mi4agYft9WK1QjBE4NS2beTg77cJOkV3/ZYzq
4XfxBz/oZXpf6SE/q/82bME3usGPXBJWJHvzWPDGBv7gv7ENSkWUoKXuR7CnbpFn
iXQB2QcxgrAVIAVI/p7uYW9x1XBp8CmIIvA6CQ2V1MMTl8HYfWH4NOe3HqM5Qf2L
KsuPl6aBGhGLWunnMYQjD+daMPLasHWp76hpGj0xemsJ6skMSeGvnkzJ0WGGyl1q
tEI0QEwPQVLSwmu8YntAcX2EPggtd8MFvlRbF8wPPmN1dn7BewutMkeQ9cvL0/cd
uQrNK2cX8w3x3yS+mYsqFIZJeVSvNEj67/sNyiI344PnFwTRR5QbhpPFZVyebH/C
Yi7zkqW9DxzoZC9+jLHMisFkR+S3D21QzFXcKQgeCyPR9Kd4QEA+ccqsYi+NNUbL
Q/+oEYFuYzqG/2NkmZHlykmIKKw4OF7zTbKqiQHoJpxyn7BOV9ScHsaYBjTCm4Og
XcLaBGQzCS8=
=NAMc
-----END PGP SIGNATURE-----