-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                ESB-2008.0273 -- [Win][UNIX/Linux][Debian]
             New smarty packages fix arbitrary code execution
                               17 March 2008

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

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

Product:              smarty
Publisher:            Debian
Operating System:     Debian GNU/Linux 4.0
                      Debian GNU/Linux 3.1
                      UNIX variants (UNIX, Linux, OSX)
                      Windows
Impact:               Execute Arbitrary Code/Commands
Access:               Remote/Unauthenticated
CVE Names:            CVE-2008-1066

Original Bulletin:    http://www.debian.org/security/2008/dsa-1520

Comment: This advisory references vulnerabilities in products which run on
         platforms other than Debian. It is recommended that administrators
         running smarty check for an updated version of the software for
         their operating system.

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

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - ------------------------------------------------------------------------
Debian Security Advisory DSA-1520-1                  security@debian.org
http://www.debian.org/security/                          Thijs Kinkhorst
March 16, 2008                        http://www.debian.org/security/faq
- - ------------------------------------------------------------------------

Package        : smarty
Vulnerability  : insufficient input sanitising
Problem type   : remote
Debian-specific: no
CVE Id(s)      : CVE-2008-1066
Debian Bug     : 469492

It was discovered that the regex module in Smarty, a PHP templating engine,
allows attackers to call arbitrary PHP functions via templates using the
regex_replace plugin by a specially crafted search string.

For the stable distribution (etch), this problem has been fixed in version
2.6.14-1etch1.

For the old stable distribution (sarge), this problem has been fixed in
version 2.6.9-1sarge1.

For the unstable distribution (sid), this problem has been fixed in version
2.6.18-1.1.

We recommend that you upgrade your smarty package.

Upgrade instructions
- - --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 3.1 alias sarge
- - --------------------------------

Source archives:

  http://security.debian.org/pool/updates/main/s/smarty/smarty_2.6.9-1sarge1.dsc
    Size/MD5 checksum:      870 3c1955d0151a53532dab661fb9a9b7b3
  http://security.debian.org/pool/updates/main/s/smarty/smarty_2.6.9.orig.tar.gz
    Size/MD5 checksum:   141694 4ee0048de6a9b35f1b11b458493327f2
  http://security.debian.org/pool/updates/main/s/smarty/smarty_2.6.9-1sarge1.diff.gz
    Size/MD5 checksum:     3502 b1835fb9b611eb5ef3f26f23c21fbdbb

Architecture independent packages:

  http://security.debian.org/pool/updates/main/s/smarty/smarty_2.6.9-1sarge1_all.deb
    Size/MD5 checksum:   177048 39408bb8ec42a25956990f2e81bd2d7e


Debian GNU/Linux 4.0 alias etch
- - -------------------------------

Source archives:

  http://security.debian.org/pool/updates/main/s/smarty/smarty_2.6.14-1etch1.dsc
    Size/MD5 checksum:      950 fa71b68819fe520b5616eec683276fdf
  http://security.debian.org/pool/updates/main/s/smarty/smarty_2.6.14.orig.tar.gz
    Size/MD5 checksum:   144986 9186796ddbc29191306338dea9d632a0
  http://security.debian.org/pool/updates/main/s/smarty/smarty_2.6.14-1etch1.diff.gz
    Size/MD5 checksum:     3814 8544db24358f72e091898f45c9fbc961

Architecture independent packages:

  http://security.debian.org/pool/updates/main/s/smarty/smarty_2.6.14-1etch1_all.deb
    Size/MD5 checksum:   184654 d2c9b4a558a052ab1c96bbdadfedafa5


  These files will probably be moved into the stable distribution on
  its next update.

- - ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBR90FHmz0hbPcukPfAQLweQgAmRduFuq43IcPo6RV2RRdVvlHgZzE4/qZ
Uvo0O8j6jmu6w4bxfxaMWOEZvIpNO+T9FRhPhmCW3mulip1htaKCeVNaY54w9NCV
C+5j3kiPFINyZPTDsOmL8vS5RrpCmA/9G1MiT2KHflbDObbDf86cqQ+/fxDBmz2V
mgPLh3nm5ZC3lwXB+hySbMBuJY2EkOEzY4bF6lqoD5oxtjzBi9uuWSETTknpgnLB
aPQgBMehy3yt8zMO55Po9jTXJ7Hnmqx1HsgsP0HZmd4LtdyBAg3h/kPDyVU5IDfr
EUX+eKT2jpgj5PutxG4zHRU/xS5M/VIgFHdMCk1JylFKfzaFUCHwug==
=Pb7P
- -----END PGP SIGNATURE-----


- -- 
To UNSUBSCRIBE, email to debian-security-announce-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


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

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
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: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBR927YCh9+71yA2DNAQJkEQP/dzvapWSpdP8lVp32JZPOsaFtgdRG9Tn3
VdZSXeq8qj8ACQ6fRlZJqsc1XSxNy5yOb5QIh83s7485dG47Xlope+fiVY+7Ej/Y
3pNkG+dwvaSqz7LgdEVzpum5Wky+m3sCBl4cU5DDlN+7sfQHEsPI3c9wvh2YX3g6
AsM3V/En+Bw=
=YJOz
-----END PGP SIGNATURE-----