www_archline_hu/cadline/modules/modules
imre.agent 8a9d865edc fix(mod_alworkshops): cast hidden_id to int to close SQL injection
The workshop-application handler assigned $_POST['hidden_id'] straight into $app['user_id'], which is then concatenated unescaped into two SELECT statements (user_id=" . $app['user_id']). An attacker could inject SQL through the hidden_id POST field.

user_id is a numeric key everywhere else in this same file (e.g. line 89 already uses (int)$_POST['user_id']); applying the same (int) cast closes the injection with no behaviour change.

Assisted-by: claude-code@claude-opus-4-8
2026-07-22 11:02:59 +02:00
..
mod_al_applications chore: renormalize stored line endings to LF per .gitattributes 2026-07-21 18:46:11 +02:00
mod_al_login chore: renormalize stored line endings to LF per .gitattributes 2026-07-21 18:46:11 +02:00
mod_al_newsletter chore: renormalize stored line endings to LF per .gitattributes 2026-07-21 18:46:11 +02:00
mod_al_upload chore: renormalize stored line endings to LF per .gitattributes 2026-07-21 18:46:11 +02:00
mod_al_vote chore: renormalize stored line endings to LF per .gitattributes 2026-07-21 18:46:11 +02:00
mod_alusers chore: renormalize stored line endings to LF per .gitattributes 2026-07-21 18:46:11 +02:00
mod_alworkshops fix(mod_alworkshops): cast hidden_id to int to close SQL injection 2026-07-22 11:02:59 +02:00
mod_course_list chore: renormalize stored line endings to LF per .gitattributes 2026-07-21 18:46:11 +02:00
mod_webinar chore: renormalize stored line endings to LF per .gitattributes 2026-07-21 18:46:11 +02:00
mod_webinar_list chore: renormalize stored line endings to LF per .gitattributes 2026-07-21 18:46:11 +02:00
mod_wsregister chore: renormalize stored line endings to LF per .gitattributes 2026-07-21 18:46:11 +02:00