Multiple Vulnerabilities in the AtHoc Toolbar For MSIE

January 19th, 2005

NGSSoftware Insight Security Research Advisory

Name: Multiple Vulnerabilities in the AtHoc Toolbar For MSIE
Systems Affected: AtHoc Toolbar for MSIE
Severity: High
Vendor URL: http://www.athoc.com/site/products/toolbar.asp
Author: Mark Litchfield [ mark@ngssoftware.com ]
John Heasman [ john@ngssoftware.com ]
Date of Public Advisory: 19th January 2005
Advisory number: #NISR19012005c
Advisory URL: http://www.ngssoftware.com/advisories/athoc-01full.txt

Description
***********

Multiple vulnerabilities have been discovered in the AtHoc toolbar which
can allow remote code execution through Internet Explorer when browsing to
a specially crafted webpage. AtHoc sell a development suite which can
allow a vendor to use their technology to create custom toolbars for their
own clients.

Among the most renound of AtHoc’s toolbar clients are:

eBay
Accenture
ThomasRegister
ThomasRegional
Juniper Networks
WiredNews
CarFax
Agile PLM

Details
*******

The AtHoc toolbar comes with ActiveX component which exports a number of
methods relating to the specifics of toolbar, such a skin settings,
whether a debug log is to be kept, and numerous other options relating to
customisation.

When attempting to provide an overly long ’skin name’ to the SetSkin()
method exported by the control, a stack based buffer overflows,
overwriting a saved return address on the stack and eventually allowing
arbitrary code to be executed.

When the AtHoc toolbar is closed and re-started, a debug log is written
containing various pieces of information relating to the success of
certain operations which have been performed on the AtHoc toolbar during
the users browsing session. One of the operations which is logged, is the
setting of a ‘base url’, a value which is used by the toolbar when
constructing absolute urls for certain web related functionality. The
SetBaseURL() function is used to set the base url.

If the url provided to the function is not valid, the url is logged by the
toolbar in the debug log, which is stored in the root of the drive on
which the toolbar is installed. The code which writes the invalid base url
to the debug log is vulnerable to a format string attack which can
overwrite arbitrary dwords in memory with arbitrary values. It is possible
to overwrite saved return addresses, function pointers, string pointers
and more to easily gain control over the execution flow of the process,
thus allowing arbitrary code execution.

The vulnerable component is marked safe for scripting by default, thereby
allowing the dangerous functionality to be accessed with little user
interaction.

Fix Information
***************

AtHoc has fixed these vulnerabilities and has advised the various vendors
to update their toolbars to use the latest components. These fixed
toolbars can be downloaded from the vendors respective websites.

About NGSSoftware
*****************

NGSSoftware design, research and develop intelligent, advanced application
security assessment scanners. Based in the United Kingdom, NGSSoftware
have offices in the South of London and the East Coast of Scotland.
NGSSoftware’s sister company NGSConsulting, offers best of breed security
consulting services, specialising in application, host and network
security assessments.

http://www.ngssoftware.com/

Telephone +44 208 401 0070
Fax +44 208 401 0076

enquiries@ngssoftware.com

Section Navigation


SC Awards 2008


SC Magazine Awards 2008

NGSSoftware wins 'Best Security Company'.

ITA 2008


2008 International Trade Awards

NGSSoftware named as South-East England regional winners at the 2008 International Trade Awards.

SLBA 2008


South London Business Awards 2008

David Litchfield named as 'Entrepreneur of the Year' at the South London Business Awards 2008.

Latest Vacancies

Experienced CLAS consultant

NGSSoftware are seeking an experienced CLAS consultant capable of writing Security Targets and Evaluation Work Plans for CTAS.

Please send us your CV or resume.

NGS Offices

NGS have offices located in London & St Andrews (UK) and Sydney (Australia).

NGS Consulting

Why do companies around the world – and around the corner – turn to NGS?

Discover what we could do for your business »

NGS Security Training

Find out why we have provided training to some of the world's most security conscious organisations.

Learn from the best!

We regularly present and speak at international security conferences throughout the world.

OWASP AppSec Europe 2008

AusCERT 2008

ITWeb Security Summit

Customer Testimonials

Read what some of our satisfied customers are saying about us.

NGS Publications

Web Application Hacker's Handbook

Oracle Hacker's Handbook

Database Hacker's Handbook

The Shellcoder's Handbook

SQL Server Security

Configuring IPCop Firewalls


CHECK