SmartJobBoard - Cross-site scripting, personal information disclosure and PHPMailer package

https://www.osisecurity.com.au/smartjobboard---cross-site-scripting-personal-information-disclosure-and-phpmailer-package.html

Date:
04-Apr-2017

Product:
SmartJobBoard

Versions affected:
v5.0.9 and below.

Vulnerability:

1) Cross-site scripting vulnerabilities in the following locations and
parameters:

/add-listing/ [proceed_to_posting parameter]
/add-listing/ [productSID parameter]
/add-listing/Resume/General/ [productSID parameter]
/add-listing/Resume/General/132 [Skills parameter]
/add-listing/Resume/General/132/* [URL injection]
/add-listing/Resume/General/132 [WorkExperience[WE_Description][1] parameter]
/my-listings/* [URL injection]
/registration/ [CompanyDescription parameter]
/change-password/ [username parameter]
/change-password/ [verification_key parameter]

2) Information disclosure.
Anyone can access other users details, without authentication:
E.g. If your resume is /resume-preview/2/, you can request
/resume-preview/1/  and see someone elses email / phone / address.

3) The product sends emails using the PHPMailer package. The version
is shipped with v.5.1 which is vulnerable to
https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities

Credit:
Discovered by Patrick Webster

Disclosure timeline:
01-Feb-2017 - Discovered during audit. Reported to vendor. Vendor
reports working on patch.
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/