Wednesday, 2010-08-04

../irclogs/#mantishelp.2010-08-04.log
--- scribe started ---00:00
YisasHello10:20
YisasI just started using mantis, and i am facing some problems with the Active Directory connection10:21
YisasI have follow the instructions but it is not working10:21
Yisasas I dont get any error message... where does mantis generate the log files related with the authentication?10:23
YisasI just add the following line in confing_inc.php10:23
Yisas$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT | LOG_FILTERING | LOG_AJAX;10:23
Yisasand $g_log_destination = 'file:c:/Mantis/logs/mantis.log';10:24
Yisasbut they dont trace anything related with authentication10:24
Yisasany idea? please help10:24
kirillka$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT | LOG_FILTERING | LOG_AJAX | LOG_LDAP;10:27
Yisasbut10:31
YisasLOG_LDAP does not apear in constant_inc.php. Is it valid?10:31
YisasI apply the changes but I dont get any trace in the log file10:37
YisasI get this error 1400 ERROR_LDAP_AUTH_FAILED'10:37
Yisasany idea? do you know any good guide that explein how to connect Active Directory and Mantis?10:38
kirillkaYisas: what mantisbt version?10:39
kirillkaYisas: did you read http://www.mantisbt.org/wiki/doku.php/mantisbt:active_directory ?10:41
Yisasyes i did11:23
YisasI am stuck with the APPLICATION ERROR #140011:23
Yisashow could I get more information about the error?11:23
Yisas 11:25
nuclear_eclipseYisas: afaik we don't log anything regarding authentication, so you'll either need to investigate the code, or check your Active Directory server log to see if it has any logs of the error11:29
nuclear_eclipsegiallu: since when is it a security vulnerability if it requires a trusted user to do something malicious? :P11:31
davidincmkdir -p build/administration_guide/images cp images/* build/administration_guide/images/ cp: cannot stat `images/*': No such file or directory make: [build/administration_guide/administration_guide.html] Error 1 (ignored) cp ../../template/stylesheet.css build/administration_guide/11:56
davidinchi11:57
YisasI am stuck. Has Mantis a debug mode? or is it possible to print trace messages?11:57
nuclear_eclipsedavidinc: yeah, just ignore that, it's part of the build template we used11:57
nuclear_eclipseYisas: the closest to a debug mode is turning on $g_show_detailed_errors11:58
Yisasthanks nucle_ecliepse, now I have more info to work on12:00
dhx_znuclear_eclipse: hey12:07
nuclear_eclipsehi dhx_z12:07
dhx_ma new bug in the admin console I see12:19
dhx_mnothing too interesting from the looks of things12:19
dhx_mI know of a number of bugs in there relating to custom fields12:19
dhx_mbut they're very minor risk as you usually a) need a valid CSRF token, b) need to be an administrator12:19
nuclear_eclipsedhx_m: did you see my string of emails?12:20
dhx_mnuclear_eclipse: yep12:20
nuclear_eclipsek12:20
dhx_mFYI I'll spend some time in the next few days fully stripping MantisBT of JavaScript12:21
nuclear_eclipseyet another example of why I hate web development :P12:21
dhx_mso that we can use X-Content-Security :)12:21
dhx_mI already did most of it12:21
nuclear_eclipsedhx_m: that's still not a full solution though12:21
dhx_mno, but it's nice :)12:21
nuclear_eclipsewe can't just rely on features of tomorrow's browsers and call it a day :P12:22
dhx_mFirefox 4 will be out later this year12:22
dhx_mthat's true12:22
dhx_mit's just another safety layer really12:22
nuclear_eclipseanywho, I gotta get to work, bbiax12:23
nuclear_eclipsebbiab*12:23
dhx_mok cya12:23
dhx_m@giallu: MantisBT 1.1.8 is not safe to use, it has 20+ unpatched XSS vulnerabilities, lacks support for security features such as the HttpOnly cookie flag, lacks CSRF protection on every form, lacks clickjacking protection, etc12:48
foobotdhx_m: Error: "giallu:" is not a valid command.12:48
nuclear_eclipsedhx_m: sounds like you need to get busy :P12:59
dhx_mnuclear_eclipse: unable to reproduce here... have you managed to get anything?12:59
dhx_mI'm emailing for more information12:59
dhx_msounds to me like they might have just run a vulnerability scanner which has returned a false positve?13:00
nuclear_eclipseI can replicate it on my server with 1.2.213:00
nuclear_eclipsewell, I can replicate *something* :P13:00
dhx_mnuclear_eclipse: PM me a link please :)13:00
nuclear_eclipsedhx_m: that's the problem13:01
nuclear_eclipsethe XSS only happens when you try to delete a category13:01
dhx_maha13:01
dhx_mwhich needs a CSRF token13:01
nuclear_eclipseie, create a category named "<script>alert("foo")</script>" and then try to delete it13:01
dhx_mand unless you've worked out how to crack 168bit hashes (generated using /dev/urandom + Whirlpool hashed with a secret nonce) in the case of 1.3.x, good luck :)13:02
nuclear_eclipseyes, but it's still technically an XSS attack, if you have a malicious manager, he creates some funky category, and you go behind him to try and delete it, you unwittingly become the victim13:02
dhx_mit might even be higher than 168bit for those tokens heh13:02
dhx_m192 I think13:02
nuclear_eclipseCSRF doesn't matter in this case13:02
dhx_mhmm true13:02
dhx_mok confirmed13:03
dhx_mwill fix13:03
dhx_mtheir information was lacking13:03
nuclear_eclipsethe same thing could happen with maliciously-named plugins if you try to uninstall it, because in both cases we send raw strings to helper_ensure_confirmed()13:03
nuclear_eclipsedhx_m: that's why I said I found "something"13:03
nuclear_eclipsemy worry is that what I found isn't the actual vulnerability in question, just because they are so freakin vague about it13:04
dhx_mmy guess is they fuzzed MantisBT with a web app scanner13:04
dhx_mwhich creates bogus categories then it follows links later to delete said categories13:05
dhx_mI know what you mean13:05
nuclear_eclipseesp because I only found this problem by searching code13:05
nuclear_eclipsehi giallu13:06
nuclear_eclipsegiallu: you got a moment?13:06
giallunuclear_eclipse, hi13:11
gialluI git bisected the issue :)13:12
dhx_mgiallu: hi, did you get my comment a few minutes ago? :)13:12
nuclear_eclipsegiallu: http://mantisforge.org/irclogs/%23mantishelp.2010-08-04.log.html13:13
nuclear_eclipsethat's IRC logs from the start of this convo13:14
gialludhx_m, not sure, I've got an IRC disconnect13:14
dhx_mgiallu: MantisBT 1.1.8 is not safe to use, it has 20+ unpatched XSS vulnerabilities, lacks support for security features such as the HttpOnly cookie flag, lacks CSRF protection on every form, lacks clickjacking protection, etc13:14
dhx_mthat was my comment ;)13:14
giallueh13:15
gialluanyway13:15
gialluthe vuln was added by paulr :)13:16
gialluin 6b968013:16
dhx_mI noticed you were asking about backporting and whether 1.1.8 was affected13:16
nuclear_eclipseI just created two issue in our tracker13:16
dhx_mthanks, I was just doing that too :p13:17
nuclear_eclipsesomehow I'm not surprised...13:17
giallu:D13:17
nuclear_eclipsedhx_m: issue 12230 and 1223113:17
dhx_malready have patches :)13:17
nuclear_eclipseyep, just wanted to make sure they had appropriate reports to go with them13:17
nuclear_eclipseplease be sure to mention the report #s in the commit messages13:18
dhx_myep thanks, was just writing some issue reports myself heh13:18
nuclear_eclipseok13:18
CIA-25Mantisbt: hickseydr * r2e3977000625 /manage_plugin_uninstall.php: Fix #12231: XSS vulnerability when uninstalling badly named plugins13:29
CIA-25Mantisbt: hickseydr * r083c34f06ca9 /manage_proj_cat_delete.php: Fix #12230: XSS vulnerability when deleting maliciously named categories13:29
CIA-25Mantisbt: hickseydr master-1.2.x * ra374a7c9a488 /manage_proj_cat_delete.php: Fix #12230: XSS vulnerability when deleting maliciously named categories13:29
CIA-25Mantisbt: hickseydr master-1.2.x * rf60d0cfbed15 /manage_plugin_uninstall.php: Fix #12231: XSS vulnerability when uninstalling badly named plugins13:29
nuclear_eclipsety dhx_m13:30
dhx_mnp13:37
giallumy connection is on crack today :(14:00
nuclear_eclipsesounds exciting14:00
CIA-25Mantisbt: hickseydr * r7ab71d0105e6 /core/cfdefs/cfdef_standard.php: Fix #12232: Multiple XSS issues with custom field enumeration values14:07
CIA-25Mantisbt: hickseydr master-1.2.x * r243ff6f65b76 /core/cfdefs/cfdef_standard.php: Fix #12232: Multiple XSS issues with custom field enumeration values14:07
davidincThe error doesn't affect the process docbook works tnx nuclear_eclipse:14:57
davidincI'm having problem on the ManTweet plugin who can I ask support. I don't see vboctor on the chat14:59
davidincI think he is the author of the plugin.14:59
nuclear_eclipsedavidinc: yeah, he rarely ever shows up these days15:00
Githubmantisbt: master David Hicks * 083c34f (1 files in 1 dirs): Fix #12230: XSS vulnerability when deleting maliciously named categories ...16:30
Githubmantisbt: master David Hicks * 2e39770 (1 files in 1 dirs): Fix #12231: XSS vulnerability when uninstalling badly named plugins ...16:30
Githubmantisbt: master David Hicks * 7ab71d0 (1 files in 1 dirs): Fix #12232: Multiple XSS issues with custom field enumeration values ...16:30
Githubmantisbt: master commits bc80ecd...7ab71d0 - http://bit.ly/ca6kAX16:30
Githubmantisbt: master-1.2.x David Hicks * a374a7c (1 files in 1 dirs): Fix #12230: XSS vulnerability when deleting maliciously named categories ...16:30
Githubmantisbt: master-1.2.x David Hicks * f60d0cf (1 files in 1 dirs): Fix #12231: XSS vulnerability when uninstalling badly named plugins ...16:30
Githubmantisbt: master-1.2.x David Hicks * 243ff6f (1 files in 1 dirs): Fix #12232: Multiple XSS issues with custom field enumeration values ...16:30
Githubmantisbt: master-1.2.x commits 49070ba...243ff6f - http://bit.ly/9MBIhz16:30
julien__hi everybody20:34
julien__I try to install mantis on a hosting service but I don't have admin access to the database20:34
julien__is there a definition of the database in a sql file ?20:34
paulrdhx_m23:34
* paulr pokes dhx_m23:38
* paulr wants to talk to dhx_m about 3 of his last 4 fixes23:39
paulrdhx_m: if your here in 10 hours, i'll catch you then :)23:57

Generated by irclog2html.py