Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 180 guests and 2 members online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Web Applications
How to test if website is writable
EH-Net
May 18, 2013, 11:00:04 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Web Applications
(Moderator:
don
) >
How to test if website is writable
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: How to test if website is writable (Read 12685 times)
0 Members and 1 Guest are viewing this topic.
dreams3577
Newbie
Offline
Posts: 2
How to test if website is writable
«
on:
December 05, 2011, 02:36:24 AM »
Morning All
I work for a company who's website has been analysed by a outside company, the outside company did it off there own back and have said that my companies website is 'writable'.
I have checked the permissions and setup and can see nothing wrong, However I would like to check.
The site sits on a windows 2003 server, IIS 6, and is ASP coded.
How would I check to see if it is 'writable' from the web?... IE: Does anyone know of a script or a process to run against the site?
Many Thanks
Steve
Logged
lorddicranius
Sr. Member
Offline
Posts: 447
Re: How to test if website is writable
«
Reply #1 on:
December 05, 2011, 02:54:19 AM »
The company ran an assessment on your company's website, yet won't tell you the directory that's vulnerable?
I'd do my best to get that from them as this is pretty standard when you have an assessment done. The whole purpose is to help you secure the website, not just say "yep, it's vulnerable" and turn their backs. I understand you said that they did it off their own backs, but that's pretty low to not tell you exactly what's vulnerable if they're not going to help you fix it as well.
Check the directories that are publicly facing via the website (could be a large task if a large website :-S). Any directories that are used to store user uploads, forms that allow users to upload files (e.g. avatars) - could be that the form is accepting all files, not just the filetype the form was developed for.
Logged
GSEC, eCPPT, Sec+
dreams3577
Newbie
Offline
Posts: 2
Re: How to test if website is writable
«
Reply #2 on:
December 05, 2011, 03:23:20 AM »
Hi
Thank you for the quick reply... The outside company will tell us, however a few thousand pounds will have to change hands before they do!!.. Hence the asking on here first..
I have checked the dirs, and there are no user upload dirs.
Thanks
Steve
Logged
Ignatius
Jr. Member
Offline
Posts: 91
Re: How to test if website is writable
«
Reply #3 on:
December 05, 2011, 12:26:32 PM »
Quote from: dreams3577 on December 05, 2011, 02:36:24 AM
.... website has been analysed by a outside company, the outside company did it off there own back ....
So they didn't get your company's permission first? Your company didn't engage them?
Isn't that one of the first thing that is drilled into Pen Testers ... get full written consent in advance, along with exactly what you are, and are not, permitted to do etc.?
Logged
rance
Full Member
Offline
Posts: 212
<censored>
Re: How to test if website is writable
«
Reply #4 on:
December 06, 2011, 10:54:32 AM »
"Writable" is a pretty generic term and can be interpreted many different ways. They could be referring to directories, or "writing" to your SQL DB if you have one, it may also be a file injection vuln.
What bothers me most is your comment that they did it "off their own back"... They way you originally wrote that, it seems to me that this "company" did a pen test on your site without your permission, knowledge or consent. True?
If true, they found an issue, and are now saying "we found something on your site, but we won't tell you until you pay us something." True again?
If true again, this would be known as extortion (maybe something lesser, but extortion is such a sexy word). At this point, you might want to get some legal people involved. If whoever this is had wholesome pure intentions, they'd tell you want the problem was and not demand money. If they pen tested your site without consent, you should have full legal precedence to go after them. You might want to start collecting logs ASAFP in case you wind up in the middle of some legal action. (of course, this doesn't solve your issue of finding out what the flaw is. you may get that information from legal proceedings, or you may have to hire a legit pen tester to find it for you. Or, you could just shell out the dough to whoever this is, but they may also be scamming you. You pay them, then you never hear from them again, or they send you on a goose chase, and they get a nice pay day.)
If this is a company you hired to perform a pen test, a full report, including technical details on any flaws should be part of the package. If you have to pay extra for data... you need someone that writes better engagement contracts.
Logged
Poking at security since 1986. +++ATH
xXxKrisxXx
Hero Member
Offline
Posts: 512
Re: How to test if website is writable
«
Reply #5 on:
December 06, 2011, 03:00:31 PM »
Hi dreams3577,
Welcome to EH-NET! Assuming you do have permission, you could utilize the auxiliary module: auxiliary/scanner/http/writable in Metasploit. Here's a guide from within Metasploit Unleashed:
http://www.offensive-security.com/metasploit-unleashed/HTTP_Writable
I hope this is what your looking for!
Logged
eCPPT, GCIH, OSCP, OSWP
kowloonboy
Newbie
Offline
Posts: 4
Re: How to test if website is writable
«
Reply #6 on:
December 06, 2011, 03:16:54 PM »
So another word, they hack your company website without your consent. And blackmail to your company to hand over a big lump sum of money, otherwise they will refuse to disclose to you the finding of the test (hack).
I think your company should call the Police.
Logged
"Life itself is your teacher, and you are in a state of constant learning." -- Bruce Lee
#! CrunchBang 10 - 20111125 iso
#! CrunchBang Linux
BreakThesec
Newbie
Offline
Posts: 7
Re: How to test if website is writable
«
Reply #7 on:
December 15, 2011, 11:17:03 PM »
I have many questions. You should ask yourself whenever you got these type of message(to protect from spam mails):
----
How they contact you? mail?
Did you check the mail address?
is it legitimate mail?
Did you search about the company in google search with
"company_name review"
or
"Company_Name fraud" or "Company_Name cheat"
...
Attackers also send these type of message and try to get confidential data(Social Engineering).
If you really want to find vulnerabilities, hire any legitimate company.
Logged
HDCautism
Newbie
Offline
Posts: 20
Re: How to test if website is writable
«
Reply #8 on:
December 16, 2011, 08:50:44 AM »
@dreams3577 I realize that your original question is how to tell whether your website is"writable." I agree with the others that the entire situation is phishy (pun fully intended). Certain versions of IIS are vulnerable to having pages dumped into the root directory. I don't remember all the details, but if your IIS is configured to use index.htm (or index.html or default.htm or default.asp etc) as one of its preferred default pages, BUT any of those pages does not exist on the site, it is vulnerable to having someone dump their "you have been hacked" page into your IIS site. Which means someone goes to
www.yoursite.com
and sees "you have been hacekd" instead of "welcome to yoursite."
The solution to this is, best I understand, to clean up the default page settings from within IIS. In server 2003, open IIS manager, right click your website name, choose Properties and go to the documents tab.
HTH.
Logged
l33t5h@rk
Jr. Member
Offline
Posts: 79
Re: How to test if website is writable
«
Reply #9 on:
December 19, 2011, 10:30:42 AM »
You need to contact your manager and the management team and have them speak to an attorney. I would imagine that will be a quick way to get a response from them. What they are doing now is more than unethical, it is illegal.
Logged
vp75
Jr. Member
Offline
Posts: 78
Re: How to test if website is writable
«
Reply #10 on:
December 19, 2011, 12:52:08 PM »
I believe and remember, there are different level of service and based on that they provide report, it should be provided in terms & conditions when undertaken the work by outsourced company. But it doesn't look fair not disclosing the information about vulnerability.
Mgmt should take action......
Logged
eCPPT
chrisg
Guest
Re: How to test if website is writable
«
Reply #11 on:
December 20, 2011, 09:52:14 PM »
check http allowed options and see if you can HTTP PUT or use webdav to write to a directory.
Logged
MaXe
Hero Member
Offline
Posts: 669
I've just upgraded myself to a cyborg muahahaa!!1
Re: How to test if website is writable
«
Reply #12 on:
December 26, 2011, 03:41:20 PM »
Word of advice: Try running a Nessus and / or NeXpose scan against your website, you will most likely get exactly the same results as the company that reported the "bug".
Often, it is just because IIS supports the PUT method or perhaps WebDAV, but that doesn't necessarily mean that it's actually exploitable, or something an attacker can use to his advantage. After all, the webserver may support the method, but may not allow it anywhere.
I would ask the target company to place a file on the server as proof of that it is "writeable". If they can't, it's not writeable as they say.
Logged
I'm an InterN0T'er
nytfox
Newbie
Offline
Posts: 20
Re: How to test if website is writable
«
Reply #13 on:
January 31, 2012, 02:36:48 AM »
Im not sure what are you asking by writable . but if you checked permissions on files and dirs and if they are not viewer writable then I guess your fine . if they meant by hackable . use some vuln scanning tools and see if they gives your exploitable vulns . I prefer nikto , Acunetix WVS (spider trows big unwanted traffic but does a good job)
Logged
Unlike others I love NULLS
http://treasuresec.com
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
SANSFIRE 2013
June 15 - 22
5% Off
w/ Code
:
EHN_5
SANS Deals 4 EH-Netters
5% OFF
Any
SANS Course
in Any Format!
Coupon Code:
EHN_5
Including
SANS Rocky Mountain 2013
&
SANS Boston 2013
Polls
Compared to this year, 2013 will be:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
General Certification
: CPT Practical Submission
(0) by
z28power4u
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(5) by
MrTuxracer
Career Central
: Starter cert?
(0) by
Alert
Ethical Hacktivism
: lulzsec in it for the money
(7) by
Georgydfea
News Items and General Discussion About EH-Net
: [Article]-Holiday 2012 Free Giveaway Sponsor - Rapid7
(20) by
Georgydfea
News Items and General Discussion About EH-Net
: Наконец то ра
(4) by
Georgydfea
Web Applications
: Nessus and Nikto
(4) by
Seen
Tutorials
: Need guidance
(7) by
impelse
Malware
: EICAR?
(2) by
SephStorm
Network Pen Testing
: Cracking salted MD5 hash
(4) by
n37sh@rk
CEH - Certified Ethical Hacker
: Passed my C|EH
(3) by
n37sh@rk
Mass Media
: EC-council hacked, irony at his best?
(0) by
j0rDy
Web Applications
: SQL Injection into an INSERT statement.
(6) by
eyenit0
Network Pen Testing
: Solution for sipXtapi INVITE Message CSeq Field Header Remote Overflow
(1) by
m0wgli
Web Applications
: dns
(2) by
H1t M0nk3y
Other
: BSides Boston
(0) by
3xban
Career Central
: InfoSec in Central, FL
(2) by
tturner
Web Applications
: Web vulnerability scanner
(4) by
H1t M0nk3y
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.