Opinion by
Judge MacPhail,The Port Authority Transit Corporation (PATCO) appeals here from an order of the Court of Common Pleas of Philadelphia County which granted the Motion for Judgment on the Pleadings of the City of Philadelphia (City). We reverse and remand.
Helene Ludwin initiated this action against the City, PATCO and the Southeastern Pennsylvania Transportation Authority (SEPTA) claiming that on the evening of December 13, 1982 her now deceased husband suffered serious injuries as the result of a criminal assault in an underground concourse in the vicinity of Eighth Street in Philadelphia. In paragraph five of her complaint, Mrs. Ludwin alleges that all three of the named entities “either individually, jointly and/or severally, owned, controlled, possessed, managed and operated the Underground Concourse of the Eighth and Chestnut Streets Subway Station enroute to the PACTO High Speed Line, Philadelphia, Pennsylvania.”1 In paragraph eight of her complaint, Mrs. Ludwin alleges the following:
The negligence of the Defendants herein, PATCO, City of Philadelphia and SEPTA, individually, jointly and/or severally . . . consisted of the following:
(a) Failure to have proper and adequate security, in and about the said scene of this incident;
*39(b) Failure to properly warn the Plaintiffs Decedent, and other individuals, of the possibility of assault, mugging and/or robbery;
(c) Failure to properly provide necessary security personnel and/or security equipment for the safety of the Plaintiffs Decedent, and other individuals;
(d) Failure to conform to the standards applicable in the community with regard to security and safety;
(e) . Failure to properly inspect the aforesaid area to determine the presence of any possible and undesirable assailants, and therefore, protect the person of the Plaintiffs Decedent, and other individuals therefrom;
(f) Carelessness;
(g) Negligence at law; and
(h) Such other acts of negligence as may appear during the course of discovery and at trial.2
PATCO, by the way of a cross-claim against the City, alleges that if Mr. Ludwin was injured as a result of the City’s negligence, then the City is liable to plaintiff or jointly and severally liable with PATCO, or liable over to PATCO by way of contribution and/or indemnity.3 In an amended pleading, PATCO asserts in an additional claim that the City is liable on the basis of the lease agreements by which PATCO leases the premises from the City.
The City filed a Motion for Judgment on the Pleadings, arguing that it is immune from suit under Sections 8541 and 8542 of the Judicial Code, 42 Pa. C. S. §§8541, 8542. On June 17, 1985 the Common Pleas *40Court ruled that the City enjoys complete immunity from this action and that the indemnification clauses in PATCOs leases do not apply because they specifically state that the City will not indemnify PATCO where PATCO has been charged with negligence.
The pertinent provisions of the lease agreements read as follows:
8. Access by City
The obligation of the City to exercise, on the Leased Properties, its police authority and control in the prevention or suppression of crime, riot or disorder and for the purpose of extinguishing fire shall not be abridged by any provision of this Lease. The City shall also have access to the Leased Properties at any and all reasonable times and under reasonable regulations of Authority, and without avoidable interference with the operation thereof, for the installation, repair, maintanance, removal or other work necessary to be done by City, its lessees or licensees, in connection with sewers, pipe lines, conduits, cables, drains or other underground or overhead structures, or for any lawful municipal purpose. City, through its Department of Public Property and said Departments officers and employees duly authorized, shall at any and all reasonable times and under reasonable regulations of Authority, and without avoidable interference with the operation thereof, also have the right of access to all parts of the Leased Properties for the purpose of inspection or examination of the condition thereof, for the making of any inventory provided for in the Lease, for the purpose of doing thereon any work City is required to under this Leasse and for accounting purposes. City agrees to defend, indemnify and save Au*41thority harmless from all actions, claims, liability, judgments, damages, loss and expenses which may at any time be made or instituted against, or incurred by Authority by reason of any injury or death of any person or damage to any property (including the Leased Properties and the Retained Properties) resulting from any act or omission, negligent or otherwise, of any servant, agent, employee, lessee or licensee of City while upon the Leased Properties or while upon the Property of Authority, by reason of permitting such access.
10. Indemnities
A. By Authority: Unless the following shall be proximately caused by the negligence of City’s servants, employees, agents, operators, lessees or licensees, Authority agrees to defend, indemnify and hold City harmless from, and to bear all costs in connection with, all claims, actions, suits, judgments, liability, damages, losses and expenses which may at any time be made or instituted against, or incurred by City, with respect to any injury or death of any person or damage to any property . . . and resulting:
(1) from the operation or maintenance of the Leased Properties, or
(2) from any act or omission, negligent or otherwise, of Authority’s employees, agents, operators, lessees or concessionaires in the use of the Leased Properties;
B. By City: Unless the following shall be proximately caused by the negligence of Authority’s employees, agents, operators or lessees, City agrees to defend, indemnify and hold Au-
*42thority harmless from, and to bear all costs in connection with, all claims, actions, suits, judgments, liability, damages, losses and expenses which may at any time be made or instituted against, or incurred by Authority, with respect to any injury or death of any person or damage to any property . . . and resulting:
(4) from any cause or causes growing out of crime, riot, disorder, fire, flood or bursting or leaking water mains, gas mains or sewers.[4]
If the City did not lease the premises to PATCO under these terms but rather solely possessed and controlled the premises, it could not be held liable for Mr. Ludwins injuries. Section 8542 of the Judicial Code, 42 Pa. C. S. §8542 sets forth the exceptions to the general provision of Section 8541 of the Judicial Code, 42 Pa. C. S. §8541, that political subdivisions are immune from damages on account of any injury to persons or property caused by acts of a local agency or employees thereof. The pertinent exception provides:
(b) Acts which may impose liability—The following acts by a local agency or any of its employees may result in the imposition of liability on a local agency:
(3) Real Property—The care, custody or control of real property in the possession of the local agency, except that the local agency shall not be liable for damages on account of any injury sustained by a person intentionally trespassing on real property in the possession of the local agency.
Section 8542(b) of the Judicial Code, 42 Pa. C. S. §8542(b).
*43This case involves allegations concerning the City’s control of criminals, not the City’s control of real property. The complaint relies upon alleged failures as to warnings, security personnel, security equipment and inspection—all matters relating to law enforcement and personal property rather than to the care, custody or control of the real property.
A political subdivision may be found liable under 42 Pa. C. S. §8542(b)(3) only when there is some defect in the real estate which proximately causes the plaintiff’s injury such as negligent maintenance, Mascaro v. Youth Study Center, 89 Pa. Commonwealth Ct. 388, 492 A.2d 786 (1985); conducting an activity upon the real estate for which the real estate is not properly designed, Bersani v. School District of Philadelphia, 310 Pa. Superior Ct. 1, 456 A.2d 151 (1982); or allowing the condition of the property to be such that criminals can “nest” on the property, see Ford v. Jeffries, 474 Pa. 588, 379 A.2d 111 (1977).
PATCO argues that the city could be held directly liable under Section 344 of the Restatement (Second) of Torts (1965). Section 344 is firmly entrenched as part of the common law of Pennsylvania. See Moran v. Valley Forge Drive-In Theater, Inc., 431 Pa. 432, 246 A.2d 875 (1968); Murphy v. Penn Fruit Co., 274 Pa. Superior Ct. 427, 418 A.2d 480 (1980); Carswell v. Southeastern Pennsylvania Transportation Authority, 259 Pa. Superior Ct. 167, 393 A.2d 770 (1978). Section 344 states:
A possessor of land who holds it open to the public for entry for his business purposes is subject to liability to members of the public while they are upon the land for such a purpose, for physical harm caused by the accidental, negligent, or intentionally harmful acts of third per*44sons or animals, and by the failure of the possessor to exercise reasonable care to
(a) discover that such acts are being done or are likely to be done, or
(b) give a warning adequate to enable the visitors to avoid the harm, or otherwise to protect them against it.
While Section 344 may provide a cause of action for third party criminal attacks on property owned by private parties, it does not provide a cause of action against a party cloaked in governmental immunity. 42 Pa. C. S. §8542(a) requires that a cause of action existed at common law before any of the exceptions to immunity found in 42 Pa. C. S. §8542(b) are applicable. There clearly is a cause of action at common law in the instant case, provided that Mrs. Ludwin can show negligence. However, subsection (b)(3) of 42 Pa. C. S. §8542 requires that to sustain a cause of action a plaintiff must show that an act of care, custody or control by a political subdivision while in possession of real property caused the injury to the plaintiff. In other words, the plaintiff in order to satisfy the requirements of 42 Pa. C. S. §8542(b)(3), must show that some defect in the physical quality of the governmental subdivisions real estate was causally connected to the plaintiffs injury. Mrs. Ludwin has not pleaded any facts which meet those requirements.
In reaching our conclusion, we reject the reasoning of this Court in Johnson v. Southeastern Pennsylvania Transportation Authority, 91 Pa. Commonwealth Ct. 587, 498 A.2d 22 (1985) that only a cause of action under Section 344 of the Restatement (Second) of Torts (1965) need be proved in order that a plaintiff may maintain a cause of action against a governmental subdivision for a third-party criminal attack.
*45We find, however, that we cannot affirm the Common Pleas Courts granting of the City’s Motion for Judgment on the Pleadings. Section 10B(4) of the lease makes clear that the City will hold the Authority harmless for torts growing out of crimes which were not caused by the negligence of the Authority. We feel that the terms of the lease are tantamount to a waiver of immunity by the City. The City can waive its immunity by ordinance. City of Philadelphia v. Middleton, 89 Pa. Commonwealth Ct. 362, 492 A.2d 763 (1985). We see no reason why it may not also waive immunity through a lease agreement.
While it is true that the City cannot be held directly liable, it can, under the terms of the lease, be liable over to the Authority for harm caused by crimes unless the harm was proximately caused by employees of the Authority. At this stage of the proceedings, it is too early to tell whose negligence, if indeed the negligence of any of the named parties, was to blame for the attack. It is clear, however, that Mrs. Ludwin has pleaded sufficient facts which could result in the City being held liable. In such circumstances, judgment on the pleadings is inappropriate.
We reverse the Common Pleas Court and remand for proceedings consistent with this opinion.
Order
The order of the Common Pleas Court of Philadelphia County granting the City of Philadelphia’s Motion for Judgment on the Pleadings is reversed and the case remanded for proceedings consistent with the foregoing opinion.
Jurisdiction is relinquished.
Reproduced Record (R.R.) at 4a.
R.R. at 4a-5a.
R.R. at 14a.
R.R. at 130a-132a; 148a-150a; 191a-193a; 212a-214a.