CVE-2024-6735 Overview
CVE-2024-6735 is a SQL injection vulnerability in itsourcecode Tailoring Management System 1.0. The flaw resides in the setgeneral.php file, where the sitename, email, mobile, sms, and currency parameters are passed to database queries without proper sanitization. Attackers can inject arbitrary SQL statements remotely over the network. The vulnerability requires low privileges but no user interaction. Public disclosure of the exploit details increases the risk of opportunistic attacks against exposed installations. The issue is tracked under identifier VDB-271456 and mapped to [CWE-89].
Critical Impact
Authenticated remote attackers can manipulate SQL queries through five parameters in setgeneral.php, enabling unauthorized reads or modifications to the application database.
Affected Products
- Angeljudesuarez Tailoring Management System 1.0
- setgeneral.php component
- Installations exposing the administrative configuration interface to untrusted networks
Discovery Timeline
- 2024-07-15 - CVE-2024-6735 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-6735
Vulnerability Analysis
The vulnerability is a classic SQL injection flaw in the general settings handler of the Tailoring Management System. The setgeneral.php script accepts user-supplied values for sitename, email, mobile, sms, and currency, then concatenates these values into SQL statements without parameterization or input validation. An attacker with access to the settings interface can supply crafted payloads that break out of the intended query context. Successful exploitation permits reading arbitrary tables, modifying configuration rows, or extracting credentials stored in the database. The EPSS score of 0.591% reflects moderate exploitation likelihood given that the exploit details are publicly disclosed.
Root Cause
The root cause is the absence of prepared statements or parameterized queries in setgeneral.php. User input from HTTP POST parameters flows directly into SQL query strings. This pattern violates secure coding practices for database access [CWE-89].
Attack Vector
Exploitation occurs over the network against the web application. The attacker submits crafted values in the vulnerable form parameters through the settings page. Because the flaw sits behind an authenticated endpoint, the adversary needs low-privilege access, which is often obtainable through weak default credentials or account registration flows. Refer to the GitHub issue tracker and VulDB entry #271456 for public technical details.
Vulnerable request pattern (conceptual):
POST /setgeneral.php
sitename=<payload>&email=<payload>&mobile=<payload>&sms=<payload>¤cy=<payload>
Input from any of these parameters is concatenated into a SQL UPDATE
statement without sanitization, allowing statement-terminating characters
and boolean/UNION-based injection techniques.
Detection Methods for CVE-2024-6735
Indicators of Compromise
- HTTP POST requests to setgeneral.php containing SQL metacharacters such as single quotes, UNION SELECT, SLEEP(, or comment sequences like -- and /*.
- Web server access logs showing anomalously long or encoded values for the sitename, email, mobile, sms, or currency parameters.
- Database errors or unusually slow responses correlated with settings page activity.
Detection Strategies
- Deploy web application firewall rules that inspect POST bodies to setgeneral.php for SQL injection signatures.
- Enable database query logging and alert on syntactically malformed statements originating from the tailoring application user.
- Correlate authentication events with subsequent access to the settings endpoint to identify low-privilege accounts probing the form.
Monitoring Recommendations
- Monitor egress traffic from the web server for data exfiltration patterns following requests to setgeneral.php.
- Track configuration changes in the application database and flag out-of-band modifications to settings tables.
- Review authentication logs for credential-stuffing or brute-force activity targeting low-privilege accounts.
How to Mitigate CVE-2024-6735
Immediate Actions Required
- Restrict network access to the Tailoring Management System so the settings interface is not reachable from untrusted networks.
- Enforce strong, unique passwords on all accounts with access to setgeneral.php and disable inactive accounts.
- Deploy a web application firewall rule that blocks SQL metacharacters in the five affected parameters until code-level fixes are applied.
Patch Information
No vendor patch has been published in the referenced advisories at the time of NVD publication. Organizations running the affected version should treat the application as unmaintained and plan migration to a supported platform. Track the VulDB entry for updates on any downstream fixes.
Workarounds
- Apply application-layer input validation to reject non-alphanumeric characters in sitename, email, mobile, sms, and currency fields.
- Refactor setgeneral.php to use parameterized queries or prepared statements through PDO or mysqli.
- Place the application behind an authenticated reverse proxy or VPN to limit exposure.
# Example ModSecurity rule to block SQL metacharacters in the affected parameters
SecRule ARGS:sitename|ARGS:email|ARGS:mobile|ARGS:sms|ARGS:currency \
"@rx (?i)(union(\s|\+)+select|sleep\(|--\s|/\*|;.*--|' or '1'='1)" \
"id:1006735,phase:2,deny,status:403,\
msg:'CVE-2024-6735 SQL injection attempt in setgeneral.php',\
tag:'CWE-89'"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

