LinuxSecurity.com
Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Welcome!
Sign up!
EnGarde Community
Login
Polls
Is Mandatory Access Control Too Much Security For Enterprise's Linux?
 
Advisories
Community
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
SELinux
White Papers
Featured Blogs
Emily Ratliff: OS Security
DanWalsh LiveJournal
Security Bloggers Network
Latest Newsletters
Linux Advisory Watch: October 10th, 2008
Linux Security Week: October 6th, 2008
Subscribe
LinuxSecurity Newsletters
E-mail:
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

  
Debian: New smarty packages fix arbitrary code execution Print E-mail
User Rating:      How can I rate this item?
Posted by Benjamin D. Thomas   
Debian 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.
- ------------------------------------------------------------------------
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
 
< Prev   Next >
    
Partner:

 

Latest Features
Never Installed a Firewall on Ubuntu? Try Firestarter
Review: Hacking Exposed Linux, Third Edition
Security Features of Firefox 3.0
Review: The Book of Wireless
April 2008 Open Source Tool of the Month: sudo
Open Source Tool of March: ZoneMinder
Meet the Anti-Nmap: PSAD
Yesterday's Edition
Billy Hoffman On AJAX Security and Browser Attacks

QuickLinks: Comunity , HOWTOs , Blogs , Features , Book Reviews , Networking ,
  Security Projects ,   Latest News ,  Newsletters ,  SELinux ,  Privacy ,  Home,
 Hardening ,   About Us,   Advertise,   Legal Notice,   RSS,   Guardian Digital

(c)Copyright 2008 Guardian Digital, Inc. All rights reserved.