MAG crash when performing Formfill where html form has select tag with anything other than name

  • 7012796
  • 06-Jul-2013
  • 25-Jul-2013

Environment


NetIQ Access Manager 3.2

Situation

Crash occuring when attempting to perform formfill and the form contains a select tag with something other than name.  In this case ID was used. (see additional information for example)

Snippet from error_log
May 23 19:41:08 misiamdevag1 httpd[5609]: [warn] AMEVENTID#10: FF:fillSilent:
mastercdnPortal_FF_Email3310            
May 23 19:41:10 misiamdevag1 httpd[5586]: [notice] child pid 5609 exit signal
Segmentation fault (11), possible coredump in /var/cache/novell-apache2   
Form doesn't get filled/submitted properly.

Resolution

Fix will be available in 3.2.2 ir1.  If the fix is needed prior to the release of ir1 then please contact support for an engineering build with the fix.

Cause

Looks like this issue has been present in the code, but this was the first time it had been reported.

Additional Information

Snippet from source that was causing the crash.
...
<form name="SWEEntryForm" method="post" action="/eservice_enu/start.swe" target='_top'><table><tr height="24px"><td align="right">Language:&nbsp;</td><td><select id="SWLanguage090607" tabindex=1 onchange="changeLang(this)"/><option value="eservice_enu|enu"/>English<option value="eservice_fra|fra"/>Français<option value="eservice_esn|esn"/>Español<option value="eservice_deu|deu"/>Deutsch<option value="eservice_ita|ita"/>Italiano<option value="eservice_chs|chs"/>&#31616;&#20307;&#20013;&#25991;<option
...


The stack from the debug000.log looks like this: /opt/novell/ag/lib/mod_novell_ag.so(+0x1a19f) [0x7f6e1f9ae19f] /opt/novell/ag/lib/mod_novell_ag.so(_addEventPrint+0x7f) [0x7f6e1f9ae2af] /opt/novell/ag/lib/mod_novell_ag.so(+0x1729b) [0x7f6e1f9ab29b] /opt/novell/apache2/sbin/httpd(ap_run_fatal_exception+0x4a) [0x7f6e2729206a] /opt/novell/apache2/sbin/httpd(+0x4a3f7) [0x7f6e272923f7] /lib64/libpthread.so.0(+0xf5d0) [0x7f6e25b9d5d0] /opt/novell/ag/lib/mod_novell_ag.so(_Z17writeTagGroupListP9FFContextP3Tagi+0x27) [0x7f6e1f9b3f17] /opt/novell/ag/lib/mod_novell_ag.so(_Z10fillSilentP9FFContextPKcPc+0xadf) [0x7f6e1f9b920f] /opt/novell/ag/lib/mod_novell_ag.so(_Z8fillHtmlP9FFContextPKcPc+0xa3) [0x7f6e1f9b9693] /opt/novell/ag/lib/mod_novell_ag.so(_Z14performActionsP9FFContext+0x267) [0x7f6e1f9ba907] /opt/novell/ag/lib/mod_novell_ag.so(formfill4_filter+0x269) [0x7f6e1f9babf9] /opt/novell/ag/lib/mod_novell_ag.so(rewrite+0x3b2) [0x7f6e1f9c5dc2] /opt/novell/apache2/libexec/mod_deflate.so(+0x2e5e) [0x7f6e24808e5e] /opt/novell/apache2/libexec/mod_proxy_http.so(+0x3b28) [0x7f6e239c3b28] /opt/novell/apache2/libexec/mod_proxy_http.so(+0x52a6) [0x7f6e239c52a6] /opt/novell/apache2/libexec/mod_proxy.so(proxy_run_scheme_handler+0xc1) [0x7f6e23bcf751] /opt/novell/apache2/libexec/mod_proxy.so(+0x9e0c) [0x7f6e23bd3e0c] /opt/novell/apache2/sbin/httpd(ap_run_handler+0x83) [0x7f6e27289273] /opt/novell/apache2/sbin/httpd(ap_invoke_handler+0xce) [0x7f6e2728c96e] /opt/novell/apache2/sbin/httpd(ap_process_request+0x1ce) [0x7f6e2729848e] /opt/novell/apache2/sbin/httpd(+0x4cf3f) [0x7f6e27294f3f] /opt/novell/apache2/sbin/httpd(ap_run_process_connection+0x83) [0x7f6e27290c83] /opt/novell/apache2/sbin/httpd(+0x56465) [0x7f6e2729e465] /lib64/libpthread.so.0(+0x75f0) [0x7f6e25b955f0] /lib64/libc.so.6(clone+0x6d) [0x7f6e2570084d]