Linux Security
    Linux Security
    Linux Security

    Debian: New smarty packages fix arbitrary code execution

    Date 16 Mar 2008
    3020
    Posted By LinuxSecurity Advisories
    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                  This email address is being protected from spambots. You need JavaScript enabled to view it.
    https://www.debian.org/security/                          Thijs Kinkhorst
    March 16, 2008                        https://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:
    
      https://security.debian.org/pool/updates/main/s/smarty/smarty_2.6.9-1sarge1.dsc
        Size/MD5 checksum:      870 3c1955d0151a53532dab661fb9a9b7b3
      https://security.debian.org/pool/updates/main/s/smarty/smarty_2.6.9.orig.tar.gz
        Size/MD5 checksum:   141694 4ee0048de6a9b35f1b11b458493327f2
      https://security.debian.org/pool/updates/main/s/smarty/smarty_2.6.9-1sarge1.diff.gz
        Size/MD5 checksum:     3502 b1835fb9b611eb5ef3f26f23c21fbdbb
    
    Architecture independent packages:
    
      https://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:
    
      https://security.debian.org/pool/updates/main/s/smarty/smarty_2.6.14-1etch1.dsc
        Size/MD5 checksum:      950 fa71b68819fe520b5616eec683276fdf
      https://security.debian.org/pool/updates/main/s/smarty/smarty_2.6.14.orig.tar.gz
        Size/MD5 checksum:   144986 9186796ddbc29191306338dea9d632a0
      https://security.debian.org/pool/updates/main/s/smarty/smarty_2.6.14-1etch1.diff.gz
        Size/MD5 checksum:     3814 8544db24358f72e091898f45c9fbc961
    
    Architecture independent packages:
    
      https://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 https://security.debian.org/ stable/updates main
    For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
    Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.
    

    Advisories

    LinuxSecurity Poll

    I agree with Linus Torvalds - Apple's new M1-powered laptops should run on Linux.

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 2 answer(s).
    /main-polls/45-i-agree-with-linus-torvalds-apple-s-new-m1-powered-laptops-should-run-on-linux?task=poll.vote&format=json
    45
    radio
    [{"id":"158","title":"True","votes":"17","type":"x","order":"1","pct":3.32,"resources":[]},{"id":"159","title":"False","votes":"495","type":"x","order":"2","pct":96.68,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350

    Please vote first in order to view vote results.


    VIEW MORE POLLS

    bottom 200

    Please enable / Bitte aktiviere JavaScript!
    Veuillez activer / Por favor activa el Javascript![ ? ]

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.