Access to job creation web page on http://████████
An unauthenticated ASP form allowed anyone to insert new job records into a database, and the source code of the ASP files was readable via .txt extensions. An attacker could fill the database with many records, potentially causing a denial of service.
- Triaged in 4 days
- Fixed in 5 months
- Disclosed after 2.8 years
Summary:
Hi DoD Team ! It looks like we may access to an ASP form on http://███ which enables any unauthenticated web user to create new jobs in the website database without any control. Furthermore, it seems that asp files are created with txt extensions too that enable the files to be readable from the Internet.
Description:
The following web page http://██████████/html/sql/jobannouncement/jobinput.asp shows an ASP form which enables any user to create a new job in the database of the website. By checking http://██████/html/sql/jobannouncement/jobinput.txt, we may see all the code of the asp file and check that the data filled in the previous form are injected into an Access Database (which is not directly reachable).
Impact
It seems that the changes done through the form are not reflected on the web site as it seems to wait for a DOC file containing all the information about the job itself. However, when trying to record a new job, the data seem to be inserted into the database without any issue. An attacker could try to perform a Denial Of Service attack by inserting a lot of records into it for eample At this moment, I do not see any other impact and I prefer reporting this issue before going further.
Step-by-step Reproduction Instructions
- Go there : http://█████/html/sql/jobannouncement/jobinput.asp
- Fill all the fields
- You will be redirected to jobconf.asp (which code source may be read too by using jobconf.txt file in URI)
Suggested Mitigation/Remediation Actions
This form should not be reachable from the Internet without any proper authentication and authorization).
Please let me know your thoughs on this,
Thanks !
Reptou
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the form lacked authentication and the server served ASP source files with a .txt extension.
Impact
An attacker could insert many records to cause a denial of service; the changes were not reflected on the site, and no other impact was confirmed.
What the attacker needed
No authentication needed; access to the public web page
The fix
The form should require authentication and authorization before being reachable from the Internet.
How it was found
- Go to the job input ASP page.
- Fill in all the fields.
- You are redirected to a confirmation page, whose source can also be read via a .txt file.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A web form meant for adding jobs could be used by anyone without logging in, and the code behind it was also visible as a text file. This means someone could flood the database with fake jobs, which might slow down or break the site.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.