sql injection vulnerabilities in Best Free Law Office Management Software(addcase_stage.php)

sql injection vulnerabilities in Best Free Law Office Management Software
Explaination:
SQL injection errors occur when:
Data enters a program from an untrusted source.
The data is used to dynamically construct a SQL query.
 
Target Code source:
https://www.mayurik.com/source-code/P5339/best-free-law-office-management-software

Url:  /kortex_lite/control/addcase_stage.php

Abstract:

The SQL statement executed in 49 lines of code is composed of external input collages.  Due to the lack of filtering or prepared statemnets,attackers can achieve SQL injection by constructing statements through unvalidated input.

Details:

In this case the data is passed to exec() in addcase_stage.php at line49.

9c71ffa06f7245fabea65e4004e91c74.png

 

The interface could be found in"case stage"

37e6c5613e3b4eda89c7bc782fb5d5f1.jpeg

 sqlmap.py -r sql_test1.txt

7494165fded64532a597727ee73f84ac.png

 

ff68dea061ad4cf394e929b0d914a86b.png

sqlmap.py -r sql_test1.txt --current-db

a1e513d30fe6469bb1a0b5a409a55b1e.png

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值