Linux Security
Linux Security
Linux Security

Debian: UPDATED: IMP SQL injection vulnerability

Date 15 Jan 2003
2478
Posted By LinuxSecurity Advisories
Using carefully crafted URLs a remote attacker is able to inject SQL code into SQL queries without proper user authentication.

--------------------------------------------------------------------------
Debian Security Advisory DSA 229-2                     This email address is being protected from spambots. You need JavaScript enabled to view it. 
https://www.debian.org/security/                             Martin Schulze
January 15th, 2003                       https://www.debian.org/security/faq
--------------------------------------------------------------------------

Package        : imp
Vulnerability  : SQL injection
Problem-Type   : remote
Debian-specific: no
CVE Id         : CAN-2003-0025

The advisory DSA 229-1 contained a typo in one file which could cause
certain installations to fail suddenly.

For completeness, here is the original advisory text:

  Jouko Pynnonen discovered a probem with IMP, a web based IMAP mail
  program.  Using carefully crafted URLs a remote attacker is able to
  inject SQL code into SQL queries without proper user authentication.
  Even though results of SQL queries aren't directly readable from the
  screen, an attacker might. update his mail signature to contain wanted
  query results and then view it on the preferences page of IMP.

  The impact of SQL injection depends heavily on the underlying database
  and its configuration.  If PostgreSQL is used, it's possible to
  execute multiple complete SQL queries separated by semicolons.  The
  database contains session id's so the attacker might hijack sessions
  of people currently logged in and read their mail.  In the worst case,
  if the hordemgr user has the required privilege to use the COPY SQL
  command (found in PostgreSQL at least), a remote user may read or
  write to any file the database user (postgres) can.  The attacker may
  then be able to run arbitrary shell commands by writing them to the
  postgres user's ~/.psqlrc; they'd be run when the user starts the psql
  command which under some configurations happens regularly from a cron
  script.

For the current stable distribution (woody) this problem has been
fixed in version 2.2.6-5.2.

For the old stable distribution (potato) this problem has been
fixed in version 2.2.6-0.potato.5.2.

For the unstable distribution (sid) this problem will be fixed in
version 2.2.6-8.

We recommend that you upgrade your IMP packages.


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 2.2 alias potato
---------------------------------

  Source archives:

     https://security.debian.org/pool/updates/main/i/imp/imp_2.2.6-0.potato.5.2.dsc
      Size/MD5 checksum:      557 44d08f19a1448314a6b909d72ccdc573
     https://security.debian.org/pool/updates/main/i/imp/imp_2.2.6-0.potato.5.2.diff.gz
      Size/MD5 checksum:    66875 c7d2431d975834000d08b86c7fe9df91
     https://security.debian.org/pool/updates/main/i/imp/imp_2.2.6.orig.tar.gz
      Size/MD5 checksum:   361731 8f7920c8173e1ef2724cb25a311f9ca8

  Architecture independent components:

     https://security.debian.org/pool/updates/main/i/imp/imp_2.2.6-0.potato.5.2_all.deb
      Size/MD5 checksum:   410804 6aedc56344d1eea874c7ae39f3e536cd


Debian GNU/Linux 3.0 alias woody
--------------------------------

  Source archives:

     https://security.debian.org/pool/updates/main/i/imp/imp_2.2.6-5.2.dsc
      Size/MD5 checksum:      638 d2504b9b549e73c448851d291821a5eb
     https://security.debian.org/pool/updates/main/i/imp/imp_2.2.6-5.2.diff.gz
      Size/MD5 checksum:    95209 2a18586731f2f3ae03353eb346eed8e4
     https://security.debian.org/pool/updates/main/i/imp/imp_2.2.6.orig.tar.gz
      Size/MD5 checksum:   361731 8f7920c8173e1ef2724cb25a311f9ca8

  Architecture independent components:

     https://security.debian.org/pool/updates/main/i/imp/imp_2.2.6-5.2_all.deb
      Size/MD5 checksum:   426822 84d31910cec8dce85e00a89f5961307e


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

---------------------------------------------------------------------------------
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.
Package info: `apt-cache show ' and  https://packages.debian.org/



Advisories

LinuxSecurity Poll

How frequently do you patch/update your system?

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 3 answer(s).
/main-polls/52-how-frequently-do-you-patch-update-your-system?task=poll.vote&format=json
52
radio
[{"id":"179","title":"As soon as patches\/updates are released - I track advisories for my distro(s) diligently","votes":"43","type":"x","order":"1","pct":81.13,"resources":[]},{"id":"180","title":"Every so often, when I think of it","votes":"5","type":"x","order":"2","pct":9.43,"resources":[]},{"id":"181","title":"Hardly ever","votes":"5","type":"x","order":"3","pct":9.43,"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.

VOTE ON THE POLL PAGE


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.