Closed Bug 283562 Opened 20 years ago Closed 20 years ago

Insecure dependency in parameter 3 of DBI::db (login_to_id forgets a trick_taint)

Categories

(Bugzilla :: User Accounts, defect, P1)

2.19.2
defect

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: dev.anand, Assigned: mkanat)

References

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Software error: Insecure dependency in parameter 3 of DBI::db=HASH(0x8f3c9f8)->selectrow_array method call while running with -T switch at Bugzilla/User.pm line 1016. in 2.19.2 development release Reproducible: Always Steps to Reproduce: 1.Home Page 2.New Account 3. Fill email and name and create account Actual Results: Software error: Insecure dependency in parameter 3 of DBI::db=HASH(0x8f3c9f8)->selectrow_array method call while running with -T switch at Bugzilla/User.pm line 1016. Expected Results: Should have created the user and sent email with password
Version: unspecified → 2.19.2
Is this in the actually released 2.19.2, or in the cvs tip? I'm assuming it's in 2.19.2. I'll investigate.
Severity: major → critical
OS: Linux → All
Hardware: PC → All
I am using the CVS tip
Severity: critical → major
OS: All → Linux
Hardware: All → PC
Ahh, looks like I just introduced that today. :-) my $user_id = $dbh->selectrow_array( "SELECT userid FROM profiles WHERE login_name = ?", undef, $login);
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.20
Assignee: user-accounts → mkanat
Severity: major → critical
Status: NEW → ASSIGNED
Summary: Insecure dependency in parameter 3 of DBI::db → Insecure dependency in parameter 3 of DBI::db (login_to_id forgets a trick_taint)
Keywords: regression
Blocks: 283334
This also includes a fix for bug 283334, because it was easy to do while I was doing this.
Attachment #175528 - Flags: review?(wurblzap)
Comment on attachment 175528 [details] [diff] [review] Add a trick_taint and remove the silly detaint_natural r=wurblzap by inspection. Nit: could've made that return selectrow_array || 0, enhancing readability imho.
Attachment #175528 - Flags: review?(wurblzap) → review+
Flags: approval?
*** Bug 283781 has been marked as a duplicate of this bug. ***
Also kills "My Bugs"
Flags: blocking2.16.9?
Priority: -- → P1
Comment on attachment 175528 [details] [diff] [review] Add a trick_taint and remove the silly detaint_natural 2xr=joel This needs to go in right away
Attachment #175528 - Flags: review+
Flags: blocking2.16.9?
Flags: approval? → approval+
Checking in Bugzilla/User.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/User.pm,v <-- User.pm new revision: 1.40; previous revision: 1.39 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: