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

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

                               ESB-2023.7376
                 USN-6550-1: PostfixAdmin vulnerabilities
                             13 December 2023

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

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

Product:           PostfixAdmin
Publisher:         Ubuntu
Operating System:  Ubuntu
Resolution:        Patch/Upgrade
CVE Names:         CVE-2023-28447 CVE-2022-31129 CVE-2022-29221

Original Bulletin: 
   https://ubuntu.com/security/notices/USN-6550-1

Comment: CVSS (Max):  8.8 CVE-2022-29221 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
         CVSS Source: Ubuntu
         Calculator:  https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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

USN-6550-1: PostfixAdmin vulnerabilities

12 December 2023

Several security issues were fixed in PostfixAdmin.

Releases

  o Ubuntu 22.04 LTS
  o Ubuntu 20.04 LTS
  o Ubuntu 18.04 ESM

Packages

  o postfixadmin - Virtual mail hosting interface for Postfix

Details

It was discovered that Smarty, that is integrated in the PostfixAdmin
code, was not properly sanitizing user input when generating templates. An
attacker could, through PHP injection, possibly use this issue to execute
arbitrary code. ( CVE-2022-29221 )

It was discovered that Moment.js, that is integrated in the PostfixAdmin
code, was using an inefficient parsing algorithm when processing date
strings in the RFC 2822 standard. An attacker could possibly use this
issue to cause a denial of service. This issue only affected Ubuntu 22.04
LTS. ( CVE-2022-31129 )

It was discovered that Smarty, that is integrated in the PostfixAdmin
code, was not properly escaping JavaScript code. An attacker could
possibly use this issue to conduct cross-site scripting attacks (XSS).
( CVE-2023-28447 )

Update instructions

The problem can be corrected by updating your system to the following package
versions:

Ubuntu 22.04

  o postfixadmin - 3.3.10-2ubuntu0.1~esm1
    Available with Ubuntu Pro

Ubuntu 20.04

  o postfixadmin - 3.2.1-3ubuntu0.1~esm1
    Available with Ubuntu Pro

Ubuntu 18.04

  o postfixadmin - 3.0.2-2ubuntu0.1~esm1
    Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References

  o CVE-2022-31129
  o CVE-2023-28447
  o CVE-2022-29221

Related notices

  o USN-5559-1 : libjs-moment, node-moment
  o USN-6012-1 : smarty3

- --------------------------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/

iQIVAwUBZXj6V8kNZI30y1K9AQh0QA/9Eo6MG99cYYsXrAqoq8+//ME+zi/9cWX3
Nl/DDJbBF2vqhf8jqpYWwWGHICpE2Hsy3zsCH0E6VzQbm7LI/kMda/SQ4Mcz5Bq6
NBwFF+s/UBNirJ+3YLen+EQf1fBXvK6x8vHsxIRXD8S+fnp4/9jkf6Ur6QBKYuIz
dcvv9Q2YnSwpL5CGtvMXiAhgN5d0mdD5MgqgiHfEZ3s4irVQL674e2G93VKdOz7A
NTTXt6TjL7Nr6tj/rCSXpX6anZs9awz0Gp4q6A8C0O9iY4dVqeqlwoa6ZeIPJsar
a5UJodC6X96cbES9DkPfDFsAKc7ESYyGkUI/wFpzZlU3XFspAq7ShgHEB+zplY8X
TbQvJfdiosG9BzoTkPQ+VLg4BBBZj0pVDt1ojH0N1aCCwWMh9dLp0HWEiqGKdBAg
wNWcnukxnjvB1QzsywUvxJ/k5FCFtTPJUJqi9hyxjJKe04rY1sNTzEXWtPTvqt8X
Blgl2rmyO5jaUYQ4UyqMtOFTWQ+tEUIeS87/2UC48kBTCOIecPUQd9LofC5pAEot
6+3GU0alEZdeV8JqJwo9q7GmqA+L7R67e5tiUylOFF6UFVvtYjjIz13tDEbGSJjx
wnYcCnwf2H9FzZRWWereDHabeEF+xBR5/MzuCTOsq0D3NcEFtXAUpoJorpseNIAW
AXFpZtI4ksg=
=Zjc5
-----END PGP SIGNATURE-----