Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 100364
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jimi A. <folajimi@speakeasy.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 100364 depends on: Show dependency tree
Bug 100364 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-26 07:42 0000
Two vulnerabilities have been reported in ProFTPD, which can be exploited by
malicious users to disclose certain sensitive information, cause a DoS (Denial
of Service), or potentially compromise a vulnerable system.

1) A format string error exists when displaying a shutdown message containing
the name of the current directory. This can be exploited by a user, who creates
a directory containing format specifiers and sets the directory as the current
directory, when the shutdown message is being sent.

Successful exploitation requires a shutdown message containing the "%C", "%R",
or "%U" variables.

2) A format string error exists when displaying response messages to the client
using information retrieved from a database using mod_sql. This can be exploited
by a user, who inserts format string sequences into database tables that are
used to generate the response messages.

Successful exploitation requires that the "SQLShowInfo" directive is set and
also requires the user to have control over the contents of the used tables in
the database.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Solution:
The vulnerabilities have been fixed in version 1.3.0rc2.

Don't believe me? You can check:
http://secunia.com/advisories/16181/

------- Comment #1 From Stefan Cornelius (RETIRED) 2005-07-26 07:51:41 0000 -------
humpback, please provide an fixed ebuild, thanks.

------- Comment #2 From Stefan Cornelius (RETIRED) 2005-07-27 12:44:26 0000 -------
This is CAN-2005-2390

------- Comment #3 From Stefan Cornelius (RETIRED) 2005-07-29 08:19:01 0000 -------
uberlord will do the ebuild, adding him to CC.

For those who are interested, patches can be found here:
http://bugs.proftpd.org/show_bug.cgi?id=2645
http://bugs.proftpd.org/show_bug.cgi?id=2646

------- Comment #4 From Roy Marples (RETIRED) 2005-07-29 08:56:32 0000 -------
I've comitted proftpd-1.2.10-r7 with the two fixes backported.

This ebuild depends on net-ftp/ftpbase-0.00 which has only been marked stable on
x86 and amd64 - it should be ok to mark stable for your arch as it's just
installs the ftp user, home directory for ftp user and a ftp pam.d file.

If you mark proftpd-1.2.10-r7 stable for your ARCH, you'll need to mark
ftpbase-0.00 stable too.

Arches, please test and mark stable proftpd-1.2.10-r7 and ftpbase-0.00

------- Comment #5 From Tobias Scherbaum 2005-07-29 10:18:33 0000 -------
marked ftpbase/proftpd ppc stable

------- Comment #6 From Markus Rothe 2005-07-29 11:41:33 0000 -------
stable on ppc64

------- Comment #7 From Roy Marples (RETIRED) 2005-07-29 13:05:51 0000 -------
Stable on amd64 and x84

------- Comment #8 From Roy Marples (RETIRED) 2005-07-29 13:06:19 0000 -------
Erm - I mean stable on x86 :)

------- Comment #9 From Adir Abraham 2005-07-29 16:51:44 0000 -------
(In reply to comment #4)
> I've comitted proftpd-1.2.10-r7 with the two fixes backported.

Well, you claim that proftpd-1.2.10-r7 is not vulnerable, while
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2390 claims that
below 1.3.0rc2 it is vulnerable. How is it ordered?

Adir.

------- Comment #10 From Roy Marples (RETIRED) 2005-07-29 19:20:27 0000 -------
I've applied the patches which address the vulnerabilities to the 1.2.10-r7
ebuild from their bugzilla posts

http://bugs.proftpd.org/show_bug.cgi?id=2645
http://bugs.proftpd.org/show_bug.cgi?id=2646

You can see this in the 1.2.10-r7 ebuild as it applies these patches that mirror
the above
proftpd-ftpshut.patch
proftpd-sqlshowinfo.patch

------- Comment #11 From René Nussbaumer 2005-07-30 02:47:40 0000 -------
Stable on hppa

------- Comment #12 From Fernando J. Pereda (RETIRED) 2005-07-31 05:08:17 0000 -------
Stable on alpha

------- Comment #13 From Gustavo Zacarias (RETIRED) 2005-07-31 06:45:25 0000 -------
sparc stable.

------- Comment #14 From Aaron Walker (RETIRED) 2005-07-31 06:49:04 0000 -------
There are no stable keywords for mips.

------- Comment #15 From Stefan Cornelius (RETIRED) 2005-07-31 07:18:43 0000 -------
ready for glsa

------- Comment #16 From Sune Kloppenborg Jeppesen 2005-08-01 14:08:44 0000 -------
GLSA 200508-02 

------- Comment #17 From Sheldon Hearn 2005-08-02 22:20:59 0000 -------
Can you please modify the code listing in the GLSA "Resolution" section?  It's 
broken for folks using anything earlier than proftpd-1.2.10-r6, because that 
version introduced a dependency on ftpbase, which blocks anything earlier. 
 
I suggest: 
 
emerge --sync 
emerge unmerge "<net-ftp/proftpd-1.2.10-r6" 
emerge --ask --oneshot --verbose ">=net-ftp/proftpd-1.2.10-r7" 
 
Or something. :-) 

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug