Skip to content
High 8.2 Web Application

SQL Injection in PHP Timeclock

CVE-2021-47966 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

PHP Timeclock 1.04 の login.php にある login_userid パラメータにSQLインジェクションの脆弱性があり、認証なしの攻撃者がデータベースの内容を取り出せます。従業員の氏名や認証情報が漏えいするおそれがあります。修正版の有無は確認できていないため、最新の情報を確認してください。

What is the problem

PHP Timeclock 1.04のlogin.phpにおけるログインユーザーIDパラメータにSQLインジェクション脆弱性が存在します。

Affected scope

PHP Timeclock 1.04のlogin.php

Severity

無認証でデータベースの機密情報を取り出すことができ、高い重要性を持つ。

How to fix

パラメータのバリデーションを強化し、SQLインジェクションを防ぐための適切なエスケープとプリペアードステートメントを利用してください。

Workaround

可能であれば、直接アクセスを制限し、サーバーでのログイン操作を監視します。

Detection

異常なデータベースクエリの監視とログレーションにより検出可能です。

Original description The description as published by the source.

PHP Timeclock 1.04 contains time-based and boolean-based blind SQL injection vulnerabilities in the login_userid parameter of login.php that allows unauthenticated attackers to extract database contents. Attackers can submit crafted POST requests with SQL payloads using SLEEP functions or RLIKE conditional statements to dump sensitive database information including employee names and credentials.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details